实用的Nginx配置生成工具
特性Site
Domain
Path
Documentroot
wwwsubdomain
CDN
Redirectwwwtonon-wwwornon-wwwtowww
ListenIPv4,IPv6
HTTPS
HTTPS
HTTP2
ForceHTTPSredirect
HSTS
SSLprofiles
Certificationtype
Let'sEncrypt
Customcertificate
OCSPDNSresolvers
CloudflareResolver
GooglePublicDNS
OpenDNS
Security
Referrer-Policy
no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
Content-Security-Policy
X-Frame-Options
X-XSS-Protection
X-Content-Type-Options
server_tokens
limit_req (throttleWordPresslogin)
PHP
PHP
PHPserver
TCP
HHVMsocket
5.xsocket
7.xsocket
PHPbackupserver
WordPresssecurityessentials
Drupalsecurityessentials
Magentosecurityessentials
Python
Python
Pythonserver
Pythonbackupserver
Routing
index
Fallbackrouting
Angular
React
Vue.js
Ember.js
Laravel
Lumen
Symfony
Zend
CodeIgniter
Yii
CakePHP
Slim
index.php
index.html
FallbackroutingPHP(SPA+APIsupport)
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)
SVG(svgz?)
Fonts(ttf|ttc|otf|eot|woff2?)
Reverseproxy
Reverseproxy
Path
proxy_pass
Proxyheaders
Logging
access_log
error_log
access_log bydomain
error_log bydomain
log_not_found
nginx
worker_processes
user
pid
client_max_body_size
Tools
Downloadgeneratedconfig
Modularized/unifiedstructure(multipleorsingefile(s))
Sharesettings
Reset
评论