fix brainfarts with nginx config
This commit is contained in:
parent
c57df5ba56
commit
131ceba3ec
|
@ -54,7 +54,7 @@ server {
|
|||
listen [::]:80 default_server;
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
return 301 https://\$host\$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,10 +77,10 @@ server {
|
|||
|
||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||
|
||||
resolver 1.1.1.1, 1.0.0.1;
|
||||
resolver 1.1.1.1 1.0.0.1;
|
||||
|
||||
root /var/www/default;
|
||||
error_log /var/log/nginx/default-errors.log;
|
||||
error_log /var/log/nginx/default-error.log;
|
||||
access_log /var/log/nginx/default-access.log;
|
||||
|
||||
# Proxy Let's Encrypt to acme upstream
|
||||
|
@ -107,7 +107,7 @@ server {
|
|||
}
|
||||
|
||||
# Include extra files if needed.
|
||||
include conf.d/default-*.conf
|
||||
include conf.d/default-*.conf;
|
||||
|
||||
}
|
||||
NGX
|
||||
|
|
Loading…
Reference in New Issue