Enable access and error logging on all services

This commit is contained in:
2026-03-10 09:34:08 +00:00
parent 53a37dde34
commit c5e05ef777
16 changed files with 74 additions and 42 deletions

View File

@@ -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;