Add custom files include ability

Closes #283
This commit is contained in:
Léo Colombaro 2021-09-15 00:00:42 +02:00
parent 674dbb0fc6
commit fbdaa3f867
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,12 @@ error_log /var/log/nginx/error.log warn;
# https://nginx.org/en/docs/ngx_core_module.html#pid # https://nginx.org/en/docs/ngx_core_module.html#pid
pid /var/run/nginx.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 { http {
# Hide Nginx version information. # Hide Nginx version information.