summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/lighttpd/lorry-controller-webapp-httpd.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/lighttpd/lorry-controller-webapp-httpd.conf b/etc/lighttpd/lorry-controller-webapp-httpd.conf
index 206371e..68f67c5 100644
--- a/etc/lighttpd/lorry-controller-webapp-httpd.conf
+++ b/etc/lighttpd/lorry-controller-webapp-httpd.conf
@@ -20,13 +20,15 @@ $SERVER["socket"] == "127.0.0.1:12765" {
server.username = "lorry"
server.groupname = "lorry"
fastcgi.server = (
- "" =>
+ "/" =>
(
"python-fcgi" =>
(
"socket" => "/run/lighttpd-lorry/lorry-controller-webapp.socket",
"bin-path" => "/usr/bin/lorry-controller-webapp --config=/etc/lorry-controller/webapp.conf",
"check-local" => "disable",
+ # Pass full request path as PATH_INFO
+ "fix-root-scriptname" => "enable",
"max-procs" => 1,
)
)