From 22939a21b4867bed5ec92181972059adeb04145c Mon Sep 17 00:00:00 2001 From: Mirko Date: Thu, 2 Apr 2020 03:17:00 +0200 Subject: [PATCH] Docker: Forward real hostname instead of "localhost" --- docker/etc/nginx/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/etc/nginx/nginx.conf b/docker/etc/nginx/nginx.conf index df26ad462..48d2d8583 100644 --- a/docker/etc/nginx/nginx.conf +++ b/docker/etc/nginx/nginx.conf @@ -42,6 +42,7 @@ http { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; + fastcgi_param SERVER_NAME $host; } location ~ /data {