Nginx Server Configs
Nginx Server Configs is a collection of configuration snippets that can help your server improve the web site's performance and security, while also ensuring that resources are served with the correct content-type and are accessible, if needed, even cross-domain.
Documentation
The documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.
Contributing to this project
Anyone and everyone is welcome to contribute, but please take a moment to review the contributing guidelines.
Acknowledgements
Nginx Server Configs is only possible thanks to all the awesome contributors!
This project is currently maintained by:
Andy Dawson |
License
The code is available under the MIT license.
Usage
sudo ln -s wordpress-configs-nginx/fastcgi-cache.conf .
sudo ln -s wordpress-configs-nginx/mime.types .
sudo ln -s wordpress-configs-nginx/nginx.conf .
sudo ln -s wordpress-configs-nginx/h5bp .
sudo ln -s wordpress-configs-nginx/wordpress .
$ sudo nano wordpress/location/cross-domain-fonts-secure-example.com.conf
$ sudo nano sites-available/www.example.com
$ cd /etc/nginx/sites-enabled
$ sudo ln -s /etc/nginx/sites-available/www.example.com .
$ sudo mkdir /usr/share/nginx/logs
$ sudo nginx -t