Skip to content
Discussion options

You must be logged in to vote

If I understand correctly, Apache translates /hister/... to http://127.0.0.1:5201/ in your config

Apache should preserve the /hister/ prefix. Something like this should work:

RedirectMatch 301 ^/hister$ /hister/

ProxyPass        "/hister/" "http://127.0.0.1:5201/hister/"
ProxyPassReverse "/hister/" "http://127.0.0.1:5201/hister/"

Also don't forget to properly setup the websocket forwarding. I'm not sure what is the proper way to do it using Apache, but with nginx it is the following: https://hister.org/docs/server-setup#nginx

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maples3
Comment options

Answer selected by maples3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants