Commit 9bc804a8 authored by nimrod's avatar nimrod
Browse files

Use the redirect to www snippet in the default site.

parent e85e8b6b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@ server {
    listen      80 default_server;
    listen      [::]:80 default_server;
    include     snippets/www-acme-challenge.conf;
    location /  { return 301 https://www.shore.co.il$request_uri; }
    include     snippets/redirect-www.conf;
}

server {
    listen      443 ssl http2 default_server;
    listen      [::]:443 ssl http2 default_server;
    include     snippets/ssl.conf;
    location /  { return 301 https://www.shore.co.il$request_uri; }
    include     snippets/redirect-www.conf;
}