22
33[ ![ Test] ( https://github.com/h5bp/server-configs-nginx/workflows/server/badge.svg )] ( https://github.com/h5bp/server-configs-nginx/actions?query=workflow%3Aserver )
44
5- ** Nginx Server Configs** is a collection of configuration snippets that can help
5+ ** Nginx Server Configs** is a collection of configuration files that can help
66your server improve the website's performance and security, while also
77ensuring that resources are served with the correct content-type and are
88accessible, if needed, even cross-domain.
@@ -48,7 +48,7 @@ Most specific variables are:
4848 nginx -s reload
4949 ```
5050
51- ### Basic structure
51+ ### Repository structure
5252
5353This repository has the following structure:
5454
@@ -72,44 +72,44 @@ This repository has the following structure:
7272 This directory should contain all the ` server ` definitions.
7373
7474 Except if they are dot prefixed or non ` .conf ` extension, all files in this
75- folder ** are** loaded automatically.
75+ directory are loaded automatically.
7676
7777 * ** ` templates ` folder**
7878
79- Files in this folder contain a ` server ` template for secure and non-secure hosts.
80- They are intended to be copied in the ` conf.d ` folder with all ` example.com `
81- occurrences changed to the target host.
79+ Files in this directory contain a ` server ` template for secure and non-secure
80+ hosts. They are intended to be copied in the ` conf.d ` directory with all
81+ ` example.com ` occurrences changed to the target host.
8282
8383* ** ` h5bp/ ` **
8484
8585 This directory contains config snippets (mixins) to be included as desired.
8686
87- There are two types of config files provided, individual config snippets and
87+ There are two types of config files provided: individual config snippets and
8888 combined config files which provide convenient defaults.
8989
9090 * ** ` basic.conf ` **
9191
9292 This file loads a small subset of the rules provided by this repository to add
93- expires headers, allow cross-domain fonts and protect system files from web
93+ ` expires ` headers, allow cross-domain fonts and protect system files from web
9494 access.
9595 The ` basic.conf ` file includes the rules which are recommended to always be
9696 defined.
9797
9898 * ** ` location/ ` **
9999
100- Files in this folder contain one or more ` location ` directives. They are intended
101- to be loaded in the ` server ` context (or, in a nested ` location ` block).
100+ Files in this directory contain one or more ` location ` directives. They are
101+ intended to be loaded in the ` server ` context (or, in a nested ` location ` block).
102102
103103* ** ` custom.d/ ` **
104104
105105 This directory should contain all the custom ` nginx.conf ` configuration.
106106
107107 Except if they are dot prefixed or non ` .conf ` extension, all files in this
108- folder ** are** loaded automatically.
108+ folder are loaded automatically.
109109
110110* ** ` mime.types ` **
111111
112- The mime.types file is responsible for mapping file extensions to mime types.
112+ The ` mime.types ` file is responsible for mapping file extensions to MIME types.
113113
114114* ** ` nginx.conf ` **
115115
0 commit comments