Include other files in nginx/conf.d to allow for customization

migrate-github-actions
Tim de Pater 2019-11-05 14:26:39 +01:00
parent 373c03da2f
commit 348b050138
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,7 @@ http {
include mime.types;
default_type application/octet-stream;
# Define custom log format to include reponse times
log_format main_timed '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
@ -81,4 +82,7 @@ http {
fastcgi_pass 127.0.0.1:9000;
}
}
# Include other server configs
include /etc/nginx/conf.d/*.conf;
}