We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4070755 + 01a4ff6 commit bd8b2dfCopy full SHA for bd8b2df
1 file changed
router/image/templates/nginx.conf
@@ -98,7 +98,7 @@ http {
98
99
{{ if eq $enforceHTTPS "true" }}
100
if ($access_scheme != "https") {
101
- return 301 https://$server_name$request_uri;
+ return 301 https://$host$request_uri;
102
}
103
{{ end }}
104
@@ -195,7 +195,7 @@ http {
195
196
197
198
199
200
201
@@ -245,7 +245,7 @@ http {
245
246
247
248
249
250
251
0 commit comments