Skip to content

Commit 256f60c

Browse files
authored
Update Caddyfile 2
1 parent c453590 commit 256f60c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

caddy/Caddyfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ route {
2828
php_fastcgi unix//var/run/php/php-fpm.sock {
2929
env HTTPS on
3030
header_up X-Forwarded-Proto {scheme}
31+
header_up X-Forwarded-Host {host}
32+
header_up X-Forwarded-Port 443
33+
header_up X-Real-IP {remote}
3134
}
3235
encode zstd gzip
3336
file_server

0 commit comments

Comments
 (0)