Production debug

This commit is contained in:
2022-06-17 12:58:46 +01:00
parent 73f31016fd
commit 067ef4fd7f
4 changed files with 39 additions and 11 deletions

View File

@ -30,7 +30,7 @@ server {
}
location / {
include /etc/nginx/conf.d/common-location.conf;
include /etc/nginx/conf.d/proxy_headers.conf;
proxy_pass http://reftest;
}
}
@ -40,7 +40,7 @@ server {
listen 80;
listen [::]:80;
# Redirect to non-www
return 301 $scheme://example.com$request_uri;
return 301 $scheme://domain_name$request_uri;
}
server {
@ -53,5 +53,5 @@ server {
include /etc/nginx/certbot-challenge.conf;
# Redirect to non-www
return 301 $scheme://example.com$request_uri;
return 301 $scheme://domain_name$request_uri;
}