caddy/Caddyfile

8 lines
159 B
Caddyfile

:80 {
root * /var/www/html
php_fastcgi wordpress:9000
request_header X-Forwarded-Proto "https"
header X-Forwarded-Proto "https"
encode gzip
file_server
}