Replaced nginx variable instead of template variable
This commit is contained in:
parent
76d40cd151
commit
6f292f7630
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ server {
|
|||
listen [::]:80 {{ $default_server }};
|
||||
{{ end }}
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
return 301 https://$server_name$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue