Fix redirect to https when it is disabled (#40)

pull/43/head
Alexander Kuhta 6 years ago committed by Bálint Szekeres
parent ff1ae92ef7
commit 9fac474e2e

@ -183,7 +183,7 @@ server {
✔ Let's Encrypt --><span ng-if="isCertLetsEncrypt()">
ssl_trusted_certificate /etc/letsencrypt/live/{{ domain() }}/fullchain.pem;</span></span>
return 301 https://{{ isWWW() ? 'www.' : '' }}{{ domain() }}$request_uri;
return 301 http{{ isHTTPS() ? 's' : '' }}://{{ isWWW() ? 'www.' : '' }}{{ domain() }}$request_uri;
}</span><!--

Loading…
Cancel
Save