Initial
This commit is contained in:
24
.dev/nginx/default.conf.template
Normal file
24
.dev/nginx/default.conf.template
Normal file
@@ -0,0 +1,24 @@
|
||||
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_pass http://wordpress:3000;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user