Files
nginx-configs/nginx/nginx/sites-available/support.conf
T
hikari 49fd7812dd
Test nginx configuration / Static Analysis (push) Failing after 7s
Test nginx configuration / nginx Syntax Check (push) Failing after 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Failing after 3m27s
refactor: consolidate pure-redirect server blocks into conf.d/redirects.conf
Moves 12 redirect-only server blocks out of their mixed host files
(content, aria, hikari, celestine, support, scheduling, portfolio) and
into a dedicated redirects.conf. Deletes the now-empty scheduling.conf
and its sites-enabled symlink.
2026-04-17 16:38:12 -07:00

27 lines
833 B
Plaintext

# Discourse community support forum.
server {
listen 443 ssl http2;
server_name support.nhcarrigan.com;
ssl_certificate /etc/letsencrypt/live/support.nhcarrigan.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/support.nhcarrigan.com/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
client_max_body_size 20M;
location / {
proxy_pass http://localhost:32121;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
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 https;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
include /etc/nginx/snippets/deny-dotfiles.conf;
}