Closed nichtich closed 1 year ago
For me, it works if I just don't set ROOT
. It will then proxy the /terminology/
subpath of uri.gbv.de as well. Maybe not the intended solution, but it seems to be working as expected for me.
Without setting ROOT
/terminology/
but at /
client.css
are not loaded from /terminology/
but from /
We could change this lines to serve assets from $ROOT and show an error message at /
when $ROOT is set. HTTP Proxy is then optional, e.g.
ProxyPass /terminology/ http://localhost:3555/terminology/
ProxyPassReverse /terminology/ http://localhost:3555/terminology/
Configuration and mounting has been refactored (see README).
For local testing with a
ROOT
such as/terminology/
, the service from localhost:3555 must be mounted at$HOST/terminology/
. I use an additional web server to do so, but this could also be integrated intoserver.js
.