Skip to content

Run in a subfolder of root #68

Open
@salvadorAnt

Description

@salvadorAnt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions