diff options
Diffstat (limited to 'roles/wiki')
-rw-r--r-- | roles/wiki/files/etc/nginx/sites-available/website | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/wiki/files/etc/nginx/sites-available/website b/roles/wiki/files/etc/nginx/sites-available/website index 9040a8c..0c25f4e 100644 --- a/roles/wiki/files/etc/nginx/sites-available/website +++ b/roles/wiki/files/etc/nginx/sites-available/website @@ -2,12 +2,13 @@ server { listen 80; listen [::]:80; - server_name fripost.org; + server_name fripost.org; + server_name www.fripost.org; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log info; - return 301 https://$host$request_uri; + return 301 https://fripost.org$request_uri; } |