fix default hostname
This commit is contained in:
parent
3eec1f4b42
commit
f6435cfd24
@ -1,14 +1,14 @@
|
||||
# {{ ansible_managed }}
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
server_name {{ ansible_fqdn }};
|
||||
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name localhost;
|
||||
server_name {{ ansible_fqdn }};
|
||||
|
||||
location / {
|
||||
root /var/www/vhosts/default;
|
||||
|
Loading…
Reference in New Issue
Block a user