From 06d27a117e93ebc3c0d68615e626a35dbf3885fe Mon Sep 17 00:00:00 2001 From: naicoi Date: Fri, 14 Apr 2023 20:56:31 +0700 Subject: [PATCH] gitflow-hotfix-stash: 0.1.7 --- Caddyfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Caddyfile b/Caddyfile index 1ee7e16..4033298 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,8 +1,10 @@ :80 { + request_header +X-Forwarded-Proto "https" root * /var/www/html - php_fastcgi wordpress:9000 - request_header X-Forwarded-Proto "https" - header X-Forwarded-Proto "https" + php_fastcgi wordpress:9000 { + header_up +X-Forwarded-Proto "https" + } + header +X-Forwarded-Proto "https" encode gzip file_server } \ No newline at end of file