# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # configuration of br.op.fo / frode klevstul / may 2026 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # br.op.fo (http) server { listen 80; server_name br.op.fo; return 301 https://br.op.fo$request_uri; } # br.op.fo (https) server { listen 443 ssl; listen [::]:443 ssl; http2 on; ssl_certificate /etc/nginx/acme.sh/op.fo/fullchain.pem; ssl_certificate_key /etc/nginx/acme.sh/op.fo/key.pem; ssl_trusted_certificate /etc/nginx/acme.sh/op.fo/cert.pem; server_name br.op.fo; access_log /var/log/nginx/br.op.fo.access.log; error_log /var/log/nginx/br.op.fo.error.log; location / { proxy_pass http://127.0.0.1:8080; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } }