readme.md update
parent
e6612d9770
commit
6ae390d858
115
README.md
115
README.md
|
@ -3,24 +3,60 @@
|
||||||
Online nginx configuration generator.
|
Online nginx configuration generator.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* HTTPS (with [Let's Encrypt](https://letsencrypt.org) or custom certificate)
|
### Site
|
||||||
* HTTP2
|
* Domain
|
||||||
* [SSL profiles](https://mozilla.github.io/server-side-tls/ssl-config-generator/)
|
* Path
|
||||||
* [HSTS](https://hstspreload.org)
|
* Document root
|
||||||
* force HTTPS
|
* www subdomain
|
||||||
* OCSP DNS resolvers
|
|
||||||
* Cloudflare Resolver
|
|
||||||
* Google Public DNS
|
|
||||||
* OpenDNS
|
|
||||||
* CDN
|
* CDN
|
||||||
* www / non-www
|
* Redirect www to non-www or non-www to www
|
||||||
* redirect subdomains
|
* Listen IPv4, IPv6
|
||||||
* IPv4, IPv6
|
|
||||||
* PHP (TCP, 5.x FPM, 7.0 FPM, 7.1 FPM, 7.2 FPM, 7.3 FPM)
|
### HTTPS
|
||||||
* Reverse proxy (e.g. Node.js)
|
* HTTPS
|
||||||
|
* HTTP2
|
||||||
|
* Force HTTPS redirect
|
||||||
|
* [HSTS](https://hstspreload.org)
|
||||||
|
* [SSL profiles](https://mozilla.github.io/server-side-tls/ssl-config-generator/)
|
||||||
|
* Certification type
|
||||||
|
* [Let's Encrypt](https://letsencrypt.org)
|
||||||
|
* Custom certificate
|
||||||
|
* OCSP DNS resolvers
|
||||||
|
* [Cloudflare Resolver](https://www.cloudflare.com/dns/)
|
||||||
|
* [Google Public DNS](https://developers.google.com/speed/public-dns/)
|
||||||
|
* [OpenDNS](https://www.opendns.com)
|
||||||
|
|
||||||
|
### 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` (throttle WordPress login)
|
||||||
|
|
||||||
|
### PHP
|
||||||
|
* PHP
|
||||||
|
* PHP connection
|
||||||
|
* TCP
|
||||||
|
* HHVM socket
|
||||||
|
* 5.x socket
|
||||||
|
* 7.x socket
|
||||||
* WordPress security essentials
|
* WordPress security essentials
|
||||||
* Drupal security essentials
|
* Drupal security essentials
|
||||||
* pass requests to index.php
|
|
||||||
|
### Routing
|
||||||
|
* `index`
|
||||||
|
* Fallback routing
|
||||||
|
* index.php
|
||||||
* *[Laravel](https://laravel.com/docs/master/deployment#nginx)*
|
* *[Laravel](https://laravel.com/docs/master/deployment#nginx)*
|
||||||
* *[Lumen](https://lumen.laravel.com/docs/5.1/installation#configuration)*
|
* *[Lumen](https://lumen.laravel.com/docs/5.1/installation#configuration)*
|
||||||
* *[Symfony](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx)*
|
* *[Symfony](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx)*
|
||||||
|
@ -29,31 +65,46 @@ Online nginx configuration generator.
|
||||||
* *[Yii](http://www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config#nginx)*
|
* *[Yii](http://www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config#nginx)*
|
||||||
* *[CakePHP](https://book.cakephp.org/3.0/en/installation.html#nginx)*
|
* *[CakePHP](https://book.cakephp.org/3.0/en/installation.html#nginx)*
|
||||||
* *[Slim](https://www.slimframework.com/docs/start/web-servers.html)*
|
* *[Slim](https://www.slimframework.com/docs/start/web-servers.html)*
|
||||||
* …
|
* index.html
|
||||||
* pass requests to index.html
|
|
||||||
* *[Angular](https://angular.io/guide/deployment#production-servers)*
|
* *[Angular](https://angular.io/guide/deployment#production-servers)*
|
||||||
* *[React](https://github.com/react-boilerplate/react-boilerplate/blob/v3.5.0/app/.nginx.conf#L81)*
|
* *[React](https://github.com/react-boilerplate/react-boilerplate/blob/v3.5.0/app/.nginx.conf#L81)*
|
||||||
* *[Vue.js](https://stackoverflow.com/questions/47655869/how-to-use-vue-js-with-nginx)*
|
* *[Vue.js](https://stackoverflow.com/questions/47655869/how-to-use-vue-js-with-nginx)*
|
||||||
* *[Ember.js](https://discuss.emberjs.com/t/how-to-serve-all-routes-on-a-production-server-exactly/6372)*
|
* *[Ember.js](https://discuss.emberjs.com/t/how-to-serve-all-routes-on-a-production-server-exactly/6372)*
|
||||||
* …
|
* Fallback routing PHP (SPA + API support)
|
||||||
* unified (`nginx.conf`) / modularized file structure (ideal for multi-domain environment)
|
|
||||||
* security headers
|
### Cache
|
||||||
* `X-Frame-Options`
|
* Assets (`css(\.map)?|js(\.map)?`)
|
||||||
* `X-XSS-Protection`
|
* Media
|
||||||
* `X-Content-Type-Options`
|
* Images (`jpe?g|png|gif|ico|cur|heic|webp|tiff?`)
|
||||||
* `Referrer-Policy`
|
* Audio (`mp3|m4a|aac|ogg|midi?|wav`)
|
||||||
* `Content-Security-Policy`
|
* Video (`mp4|mov|webm|mpe?g|avi|ogv|flv|wmv`)
|
||||||
|
* SVG (`svgz?`)
|
||||||
|
* Fonts (`ttf|ttc|otf|eot|woff2?`)
|
||||||
|
|
||||||
|
### Reverse proxy
|
||||||
|
* Reverse proxy
|
||||||
|
* Path
|
||||||
|
* `proxy_pass`
|
||||||
|
* Proxy headers
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
* `access_log`
|
||||||
|
* `error_log`
|
||||||
|
* `access_log` by domain
|
||||||
|
* `error_log` by domain
|
||||||
|
* `log_not_found`
|
||||||
|
|
||||||
|
### nginx
|
||||||
* `worker_processes`
|
* `worker_processes`
|
||||||
* `user`
|
* `user`
|
||||||
* `pid`
|
* `pid`
|
||||||
* `access_log`
|
|
||||||
* `error_log`
|
|
||||||
* `client_max_body_size`
|
* `client_max_body_size`
|
||||||
* `gzip`
|
|
||||||
* `server_tokens`
|
### Tools
|
||||||
* `log_not_found`
|
* Download generated config
|
||||||
* rate limiting (`limit_req`)
|
* Modularized / unified structure (multiple or singe file(s))
|
||||||
* expiration by file types (`expires`)
|
* Share settings
|
||||||
|
* Reset
|
||||||
|
|
||||||
## Built With
|
## Built With
|
||||||
* [Bootstrap](http://getbootstrap.com) - Grid, form controls
|
* [Bootstrap](http://getbootstrap.com) - Grid, form controls
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
Reference in New Issue