We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7402d4 commit eeab425Copy full SHA for eeab425
1 file changed
docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf
@@ -8,7 +8,10 @@ if ($request_uri = /.well-known/acme-challenge/test-challenge) {
8
9
# Check if the ssl staff has been handled
10
set $test_ssl_handled "";
11
-if ($trust_forwarded_proto = T){
+if ($trust_forwarded_proto = "") {
12
+ set $trust_forwarded_proto "F";
13
+}
14
+if ($trust_forwarded_proto = "T") {
15
set $test_ssl_handled "${test_ssl_handled}T";
16
}
17
if ($http_x_forwarded_proto = "https") {
0 commit comments