Remove commented out config sections

This commit is contained in:
2026-03-20 04:11:20 +00:00
parent 6240de4af5
commit 69ed1a853e
13 changed files with 35 additions and 219 deletions

View File

@@ -6,8 +6,8 @@ upstream haproxy_backend {
}
server {
listen 443 ssl; #http2;
listen [::]:443 ssl; # http2;
listen 443 ssl;
listen [::]:443 ssl;
server_name *.novicelab.io;
# SSL Certificate paths
@@ -38,11 +38,11 @@ server {
add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline' 'unsafe-eval';" always;
# Logging
access_log /var/log/nginx/*.novicelab.io_access.log VCOMBINED;
access_log /var/log/nginx/*.novicelab.io_access.log json_combined;
error_log /var/log/nginx/*.novicelab.io_error.log debug;
location / {
proxy_pass http://10.0.0.20:80; # Assuming HAProxy is on port 8080
proxy_pass http://10.0.0.20:80;
# proxy_pass http://haproxy_backend;
proxy_http_version 1.1;
proxy_set_header Connection "";