{"repo":"h5bp/server-configs-nginx","free":true,"listed":false,"github":"https://github.com/h5bp/server-configs-nginx","clone":"git clone https://github.com/h5bp/server-configs-nginx.git","description":"Nginx HTTP server boilerplate configs","language":null,"stars":11558,"topics":["nginx","nginx-configuration","config","standard","h5bp","best-practices","robust"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Nginx Server Configs Nginx Server Configs is a collection of configuration files that can help your server improve the website's performance and security, while also ensuring that resources are served with the correct content-type and are accessible, if needed, even cross-domain. Getting Started Using the Nginx server configs repo directly has a few required steps to be able to work. Nginx Beginners Guide Nginx Request Processing Check nginx.conf settings The first thing to check is that the nginx.conf file contains appropriate values for your specific install. Most specific variables are: user error log pid access log Nginx test and restart To verify Nginx config To verify Nginx config with a custom file To reload Nginx and apply the new config Repository structure This repository has the following structure: conf.d/ This directory should contain all the server definitions. Except if they are dot prefixed or non .conf extension, all files in this directory are loaded automatically. templates folder Files in this directory contain a server template for secure and non-secure hosts. They are intended to be copied in the conf.d directory with all example.com occurrences changed to the target host. h5bp/ This directory contains config snippets (mixins) to be included as desired. There are two types of config files provided: individual config snippets and combined config files which provide convenient defaults. basic.conf This file loads a small subset of the rules provided by thi","default_branch":null,"files":null,"tree":[],"storefront":"/r/h5bp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/h5bp/server-configs-nginx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}