fix default hostname

This commit is contained in:
Robert Kaussow 2017-07-16 18:18:50 +02:00
parent 3eec1f4b42
commit f6435cfd24

View File

@ -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;