From dc0f92313c7486a00221212bc58d8120f6757c5d Mon Sep 17 00:00:00 2001 From: "Rafael F. Silveira" <8284165+rafaelfesi@users.noreply.github.com> Date: Wed, 21 Nov 2018 22:25:14 -0200 Subject: [PATCH] Remove unnecessary location It could be removed equal the version below without the Let's Encrypt (non https version) --- public/templates/conf/sites-available/example.com.conf.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/templates/conf/sites-available/example.com.conf.html b/public/templates/conf/sites-available/example.com.conf.html index b34fb19..d15ac53 100644 --- a/public/templates/conf/sites-available/example.com.conf.html +++ b/public/templates/conf/sites-available/example.com.conf.html @@ -209,9 +209,9 @@ server { ✔ Let's Encrypt --> - location / { - return 301 https://{{ isWWW() ? 'www.' : '' }}{{ domain() }}$request_uri; - }