From e0bc90be50d0d243ac591e6e22c20582548ce6a1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 2 May 2021 20:49:31 +0300 Subject: [PATCH] Specific redirect in the fallback site. --- conf.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.d/default.conf b/conf.d/default.conf index 2b49994..6e4eee0 100644 --- a/conf.d/default.conf +++ b/conf.d/default.conf @@ -2,12 +2,12 @@ server { listen 80 default_server; listen [::]:80 default_server; include snippets/www-acme-challenge.conf; - include snippets/redirect-www.conf; + return 301 https://www.shore.co.il$request_uri; } server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; include snippets/ssl.conf; - include snippets/redirect-www.conf; + return 301 https://www.shore.co.il$request_uri; } -- GitLab