From: Guillaume Pellerin Date: Mon, 6 Mar 2017 11:55:42 +0000 (+0100) Subject: add nginx redirect X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c5ab8d66b776579d4d65d5a23df9ba4bca174e17;p=mezzo.git add nginx redirect --- diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 9fca538b..87b359ee 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -1,5 +1,10 @@ server_tokens off; +server { + server_name starts.eu; + rewrite ^(.*) http://www.starts.eu$1 permanent; +} + server { listen 80; charset utf-8;