generated from nhcarrigan/template
49fd7812dd
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.
27 lines
833 B
Plaintext
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;
|
|
}
|