I have several endpoints working, but only 1 that I cant get to work.
The application is code-sever, and they do not have a base url path option, that is why I'm using what MichaIng suggested in the beggining of this thread.
Code: Select all
$HTTP["url"] =~ "^/code($|/)" {
proxy.header = (
"map-urlpath" => (
"/code" => ""
)
)
proxy.server = ( "" =>
(( "host" => "192.168.1.94", "port" => 8443))
)
}
And at code-server logs, I do not see an invalid login attempt, so Im guessing the login works but it seems that in the response-header the location is ./ and I think it should be /code , so I think lighttpd should re-write the response somehow.
This is a nice app by the way, is visual studio code in the browser.