From fbdaa3f867f3c8e1926df6bfe5943bfe57926ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Wed, 15 Sep 2021 00:00:42 +0200 Subject: [PATCH] Add custom files include ability Closes #283 --- nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nginx.conf b/nginx.conf index 6d29359..744d24b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -46,6 +46,12 @@ error_log /var/log/nginx/error.log warn; # https://nginx.org/en/docs/ngx_core_module.html#pid pid /var/run/nginx.pid; +# Include files in the custom.d folder. +# Custom configuration and value files should be placed in the custom.d +# folder. +# The configurations should be disabled by prefixing files with a dot. +include custom.d/*.conf; + http { # Hide Nginx version information.