Force SERVER_NAME to be HTTP_HOST for Kanboard, fixes #121
This commit is contained in:
parent
2165c44e18
commit
d19fd41506
@ -6,6 +6,7 @@ location /kanboard {
|
|||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
|
fastcgi_param SERVER_NAME $http_host;
|
||||||
fastcgi_pass unix:/run/php/kanboard.sock;
|
fastcgi_pass unix:/run/php/kanboard.sock;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user