readme.md update

pull/27/head
Szekeres Bálint 2018-10-30 22:08:49 +01:00
parent e6612d9770
commit 6ae390d858
2 changed files with 95 additions and 44 deletions

139
README.md
View File

@ -3,57 +3,108 @@
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
* *[Laravel](https://laravel.com/docs/master/deployment#nginx)* ### Routing
* *[Lumen](https://lumen.laravel.com/docs/5.1/installation#configuration)* * `index`
* *[Symfony](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx)* * Fallback routing
* *[Zend](https://www.nginx.com/resources/wiki/start/topics/recipes/zend/)* * index.php
* *[CodeIgniter](https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter/)* * *[Laravel](https://laravel.com/docs/master/deployment#nginx)*
* *[Yii](http://www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config#nginx)* * *[Lumen](https://lumen.laravel.com/docs/5.1/installation#configuration)*
* *[CakePHP](https://book.cakephp.org/3.0/en/installation.html#nginx)* * *[Symfony](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx)*
* *[Slim](https://www.slimframework.com/docs/start/web-servers.html)* * *[Zend](https://www.nginx.com/resources/wiki/start/topics/recipes/zend/)*
* … * *[CodeIgniter](https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter/)*
* pass requests to index.html * *[Yii](http://www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config#nginx)*
* *[Angular](https://angular.io/guide/deployment#production-servers)* * *[CakePHP](https://book.cakephp.org/3.0/en/installation.html#nginx)*
* *[React](https://github.com/react-boilerplate/react-boilerplate/blob/v3.5.0/app/.nginx.conf#L81)* * *[Slim](https://www.slimframework.com/docs/start/web-servers.html)*
* *[Vue.js](https://stackoverflow.com/questions/47655869/how-to-use-vue-js-with-nginx)* * index.html
* *[Ember.js](https://discuss.emberjs.com/t/how-to-serve-all-routes-on-a-production-server-exactly/6372)* * *[Angular](https://angular.io/guide/deployment#production-servers)*
* … * *[React](https://github.com/react-boilerplate/react-boilerplate/blob/v3.5.0/app/.nginx.conf#L81)*
* unified (`nginx.conf`) / modularized file structure (ideal for multi-domain environment) * *[Vue.js](https://stackoverflow.com/questions/47655869/how-to-use-vue-js-with-nginx)*
* security headers * *[Ember.js](https://discuss.emberjs.com/t/how-to-serve-all-routes-on-a-production-server-exactly/6372)*
* `X-Frame-Options` * Fallback routing PHP (SPA + API support)
* `X-XSS-Protection`
* `X-Content-Type-Options` ### Cache
* `Referrer-Policy` * Assets (`css(\.map)?|js(\.map)?`)
* `Content-Security-Policy` * 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?`)
### 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