-
Notifications
You must be signed in to change notification settings - Fork 395
Description
Hello
I'm running sshwifty under docker, which means I can access through the web with port 8182.
This mean I access the application by the web root / (https://server:8182/)
However, all assets, images, etc are located under the /sshwifty/ folder (https://server:8182/sshwifty/) by application design.
This means, if I want to reverse proxy sshwifty I need to proxy to port 8182 web root / as well as handle the /sshwifty/ folder on my webserver config.
Example with caddy:
handle_path /ssh/* {
reverse_proxy server:8182
}
handle /sshwifty/* {
reverse_proxy server:8182
}
The feature request is to eliminate the /sshwifty/ from the assets, etc, so they all can be served from the web root.
The other feature request is to have the ability to specify a folder address, so when I type server:8182 it will redirect to server:8182/sshwifty/ and server all files from there. This is a very common config for applications to support reverse proxy.