Force SERVER_NAME to be HTTP_HOST for Kanboard, fixes #121

This commit is contained in:
Disassembler 2017-10-14 10:31:31 +02:00
parent 2165c44e18
commit d19fd41506

View File

@ -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;
}
}