From 21e03ec3a899d98f0fbebbdf928f10d1cdeee8e4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 1 Jun 2015 01:32:54 +0200 Subject: =?UTF-8?q?Add=20a=20redirection=20www.fripost.org=20=E2=86=92=20f?= =?UTF-8?q?ripost.org.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/wiki/files/etc/nginx/sites-available/website | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/wiki/files/etc/nginx/sites-available/website') 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; } -- cgit v1.2.3