Skip to content

Commit c453590

Browse files
authored
Update Caddyfile
1 parent 7aea23c commit c453590

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

caddy/Caddyfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ route {
2525
}
2626

2727
push
28-
php_fastcgi unix//var/run/php/php-fpm.sock
28+
php_fastcgi unix//var/run/php/php-fpm.sock {
29+
env HTTPS on
30+
header_up X-Forwarded-Proto {scheme}
31+
}
2932
encode zstd gzip
3033
file_server
3134
}

0 commit comments

Comments
 (0)