Skip to content

Commit bdf86dc

Browse files
authored
Merge pull request #2098 from nekoprog/patch-1
2 parents 91cacd1 + 9a473e5 commit bdf86dc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

basics/installation/advanced/nginx.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,18 @@ server {
145145
146146
# Convert the X-Forwarded-Proto header to HTTPS
147147
# Uncomment these for Cloudflare Tunnel and SSL-enabled reverse proxy
148-
# set $https_redirect "off";
149-
# if ($http_x_forwarded_proto = "https") {
150-
# set $https_redirect "on";
151-
# }
152-
# fastcgi_param HTTPS $https_redirect;
153-
# fastcgi_param HTTP_SCHEME https;
148+
# set $https_redirect "off";
149+
# if ($http_x_forwarded_proto = "https") {
150+
# set $https_redirect "on";
151+
# }
152+
# fastcgi_param HTTPS $https_redirect;
153+
# fastcgi_param HTTP_SCHEME https;
154154
155155
# Pass HTTPS headers to PHP
156156
# Uncomment these for Cloudflare Tunnel and SSL-enabled reverse proxy
157-
# fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto;
158-
# fastcgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for;
159-
# fastcgi_param HTTP_X_FORWARDED_HOST $http_host;
157+
# fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto;
158+
# fastcgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for;
159+
# fastcgi_param HTTP_X_FORWARDED_HOST $http_host;
160160
161161
fastcgi_index index.php;
162162

0 commit comments

Comments
 (0)