Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run in a subfolder of root #68

Open
salvadorAnt opened this issue Jul 3, 2024 · 0 comments
Open

Run in a subfolder of root #68

salvadorAnt opened this issue Jul 3, 2024 · 0 comments

Comments

@salvadorAnt
Copy link

How to run in a subfolder of root?
i would need for the static content and websocket because in same reverse proxy there are other websocket
the address would be: https://localhost/ssh/

i configured in config.yaml:
prod:

http path for static files and views

static_prefix: /ssh
api_prefix: "ssh"

RewriteEngine on
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /ssh/(.*)           ws://sshweb:2222/ssh/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /ssh/(.*)           http://sshweb:2222/ssh/$1 [P,L]

But I can't get it working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant