Skip to content

Commit 348b050

Browse files
committed
Include other files in nginx/conf.d to allow for customization
1 parent 373c03d commit 348b050

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ http {
1010
include mime.types;
1111
default_type application/octet-stream;
1212

13+
# Define custom log format to include reponse times
1314
log_format main_timed '$remote_addr - $remote_user [$time_local] "$request" '
1415
'$status $body_bytes_sent "$http_referer" '
1516
'"$http_user_agent" "$http_x_forwarded_for" '
@@ -81,4 +82,7 @@ http {
8182
fastcgi_pass 127.0.0.1:9000;
8283
}
8384
}
85+
86+
# Include other server configs
87+
include /etc/nginx/conf.d/*.conf;
8488
}

0 commit comments

Comments
 (0)