79445300

Date: 2025-02-17 11:52:27
Score: 2
Natty:
Report link

Thank you @gstrauss! The answer IS to use proxy.server with map-urlpath. Where I was going wrong before was I had included proxy-header within the proxy.server directive. It should be separate.

My lighttpd.conf file now has:

proxy.server = ( "/flask" => ( ( "host" => "127.0.0.1", "port" => "8080", "check-local" => "disable" ) ))
proxy.header = ( "map-urlpath" => ( "/flask" => "/" ))

which works fine. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • User mentioned (1): @gstrauss
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Doug Conran