Enable access and error logging on all services
This commit is contained in:
@@ -31,10 +31,11 @@ server {
|
||||
add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline' 'unsafe-eval';" always;
|
||||
|
||||
# Logging
|
||||
access_log /var/log/nginx/example.com_access.log;
|
||||
error_log /var/log/nginx/example.com_error.log;
|
||||
access_log /var/log/nginx/harbor.novicelab.io_access.log;
|
||||
error_log /var/log/nginx/harbor.novicelab.io_error.log;
|
||||
|
||||
set $harbor_backend 10.0.0.251:9090;
|
||||
# set $harbor_backend 10.0.0.251:9090;
|
||||
set $harbor_backend nginx-harbor:80;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user