We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb2ffc0 + b320a67 commit d124842Copy full SHA for d124842
1 file changed
router/image/templates/nginx.conf
@@ -99,7 +99,7 @@ http {
99
100
{{ if eq $enforceHTTPS "true" }}
101
if ($access_scheme != "https") {
102
- rewrite ^(.*)$ https://$host$1 permanent;
+ return 301 https://$server_name$request_uri;
103
}
104
{{ end }}
105
@@ -173,7 +173,7 @@ http {
173
174
175
176
177
178
179
0 commit comments