Use generic `$host` instead of host name

This commit is contained in:
Léo Colombaro 2019-05-16 22:58:45 +02:00
parent 8db768bd61
commit ece9c6b451
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ server {
server_name www-server.localhost; server_name www-server.localhost;
return 301 $scheme://www.www-server.localhost$request_uri; return 301 $scheme://www.$host$request_uri;
} }