From d19fd41506c19bdb44adb1794aa276273cf96cc7 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 14 Oct 2017 10:31:31 +0200 Subject: [PATCH] Force SERVER_NAME to be HTTP_HOST for Kanboard, fixes #121 --- kanboard/etc/nginx/apps-available/kanboard | 1 + 1 file changed, 1 insertion(+) diff --git a/kanboard/etc/nginx/apps-available/kanboard b/kanboard/etc/nginx/apps-available/kanboard index 55b0f68..ab82062 100644 --- a/kanboard/etc/nginx/apps-available/kanboard +++ b/kanboard/etc/nginx/apps-available/kanboard @@ -6,6 +6,7 @@ location /kanboard { location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_param SCRIPT_FILENAME $request_filename; + fastcgi_param SERVER_NAME $http_host; fastcgi_pass unix:/run/php/kanboard.sock; } }