├── .editorconfig ├── LICENSE ├── README.md └── conf ├── denygit.conf ├── denyhtaccess.conf ├── forwardslash.conf ├── frontcontroller.conf ├── multislashremove.conf ├── phpfastcgi.conf ├── phpfastcgiparam.conf ├── releasecssjs.conf ├── releasecssjsexpires.conf └── removewww.conf /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/.editorconfig -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/README.md -------------------------------------------------------------------------------- /conf/denygit.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/denygit.conf -------------------------------------------------------------------------------- /conf/denyhtaccess.conf: -------------------------------------------------------------------------------- 1 | location ~ "\.htaccess$" { 2 | return 404; 3 | } 4 | -------------------------------------------------------------------------------- /conf/forwardslash.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/forwardslash.conf -------------------------------------------------------------------------------- /conf/frontcontroller.conf: -------------------------------------------------------------------------------- 1 | if ($uri !~ "\.[a-z0-9]{2,4}$") { 2 | rewrite "^" /index.php last; 3 | } 4 | -------------------------------------------------------------------------------- /conf/multislashremove.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/multislashremove.conf -------------------------------------------------------------------------------- /conf/phpfastcgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/phpfastcgi.conf -------------------------------------------------------------------------------- /conf/phpfastcgiparam.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/phpfastcgiparam.conf -------------------------------------------------------------------------------- /conf/releasecssjs.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/releasecssjs.conf -------------------------------------------------------------------------------- /conf/releasecssjsexpires.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/releasecssjsexpires.conf -------------------------------------------------------------------------------- /conf/removewww.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnetikonline/nginx-config-snippets/HEAD/conf/removewww.conf --------------------------------------------------------------------------------