Files
blog/.dev/nginx/default.conf.template
2022-06-08 21:34:12 +02:00

25 lines
610 B
Plaintext

server {
listen 80;
server_name hvgblog.lndo.site;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name ${WP-FQDN};
ssl_certificate /run/secrets/SSL_CRT;
ssl_certificate_key /run/secrets/SSL_KEY;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_buffering off;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $host;
proxy_pass http://wordpress:3000;
}
}