mirror of
				https://github.com/digitalocean/nginxconfig.io.git
				synced 2025-11-04 09:26:11 +08:00 
			
		
		
		
	
			
				
					
						
					
					8992606124500daeb041b372dfe5a50368c31fbd
				
			
			
		
	NGiИX configuration generator
Features
Site
- Domain
 - Path
 - Document root
 - www subdomain
 - CDN
 - Redirect www to non-www or non-www to www
 - Listen IPv4, IPv6
 
HTTPS
- HTTPS
 - HTTP2
 - Force HTTPS redirect
 - HSTS
 - SSL profiles
 - Certification type
- Let's Encrypt
 - Custom certificate
 
 - OCSP DNS resolvers
 
Security
- Referrer-Policy
no-referrerno-referrer-when-downgradeoriginorigin-when-cross-originsame-originstrict-originstrict-origin-when-cross-originunsafe-url
 - Content-Security-Policy
 - X-Frame-Options
 - X-XSS-Protection
 - X-Content-Type-Options
 server_tokenslimit_req(throttle WordPress login)
PHP
- PHP
 - PHP server
- TCP
 - HHVM socket
 - 5.x socket
 - 7.x socket
 
 - PHP backup server
 - WordPress security essentials
 - Drupal security essentials
 - Magento security essentials
 
Python
- Python
 - Python server
 - Python backup server
 
Routing
index- Fallback routing
 - Fallback routing PHP (SPA + API support)
 
Cache
- Assets (
css(\.map)?|js(\.map)?) - Media
- Images (
jpe?g|png|gif|ico|cur|heic|webp|tiff?) - Audio (
mp3|m4a|aac|ogg|midi?|wav) - Video (
mp4|mov|webm|mpe?g|avi|ogv|flv|wmv) 
 - Images (
 - SVG (
svgz?) - Fonts (
ttf|ttc|otf|eot|woff2?) 
Reverse proxy
- Reverse proxy
 - Path
 proxy_pass- Proxy headers
 
Logging
access_logerror_logaccess_logby domainerror_logby domainlog_not_found
nginx
worker_processesuserpidclient_max_body_size
Tools
- Download generated config
 - Modularized / unified structure (multiple or singe file(s))
 - Share settings
 - Reset
 
Built With
- Bootstrap - Grid, form controls
 - AngularJS - Two-way data binding, template handling
 - highlight.js - nginx syntax highlight
 - clipboard.js - Copy generated config to clipboard
 - ngclipboard - AngularJS directive for clipboard.js
 - Angular Tooltips - helper tooltips
 - Masonry - files grid layout
 - JSZip - generating zip package
 - FileSaver - downloading zip file
 
Resources
Description
				
			
					Languages
				
				
								
								
									JavaScript
								
								71.4%
							
						
							
								
								
									Vue
								
								26.3%
							
						
							
								
								
									SCSS
								
								2.3%
							
						
					