From d93054016543c304707c6b7083e690db49924884 Mon Sep 17 00:00:00 2001 From: GreyXor <79602273+GreyXor@users.noreply.github.com> Date: Thu, 28 Oct 2021 12:15:23 +0200 Subject: [PATCH] doc: Added explanation for using the custom.conf folder --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index cf8a314..4bc71d3 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ This repository has the following structure: │ ├── basic.conf │ ├── location/ │ └── .../ +├── custom.d/ +│ └── .../ ├── mime.types └── nginx.conf ``` @@ -98,6 +100,13 @@ This repository has the following structure: Files in this folder contain one or more `location` directives. They are intended to be loaded in the `server` context (or, in a nested `location` block). +* **`custom.d/`** + + This directory should contain all the custom `nginx.conf` configuration. + + Except if they are dot prefixed or non `.conf` extension, all files in this + folder **are** [loaded](https://github.com/h5bp/server-configs-nginx/blob/fbdaa3f867f3c8e1926df6bfe5943bfe57926ef5/nginx.conf#L53) automatically. + * **`mime.types`** The mime.types file is responsible for mapping file extensions to mime types.