We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9580903 commit 534afe6Copy full SHA for 534afe6
1 file changed
docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf
@@ -5,6 +5,9 @@ if ($scheme = "http") {
5
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
6
set $test "${test}T";
7
}
8
+if ($http_x_forwarded_proto = "https") {
9
+ set $test "${test}S";
10
+}
11
if ($test = H) {
12
return 301 https://$host$request_uri;
13
0 commit comments