Page MenuHomePhabricator

Setup lighttpd to serve both the API and the Client application on toolforge
Closed, ResolvedPublic

Event Timeline

dmaza renamed this task from Setup lighttpd to server both the API and the Client application on toolforge to Setup lighttpd to serve both the API and the Client application on toolforge.Jan 22 2018, 5:59 PM

This is presenting a different behaviour in toolforge from what is documented and what lighttpd will do locally.

alias.url += ("/api" => "/data/project/interaction-timeline/tool/server/src/public/")

is the documented way, but looks for /data/project/interaction-timeline/public_html//api instead of the expected /data/project/interaction-timeline/public_html.

@madhuvishy pinging you in attempt to find help about lighttpd configs in k8s.

I've created T186055 to keep track of the lighttpd config issue in case I can complete this with a workaround