ibehren1 / fw-gui

GUI for the management of VyOS firewall configurations.
https://fw-gui.com
MIT License
38 stars 3 forks source link

Is subpath work? #33

Closed zelogik closed 2 months ago

zelogik commented 3 months ago

Hi,

is example.com/fw-gui/ is a valable working solutions ?

Have a k8s cluster and normally for many app just that 2 lines works:

annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 and spec.rules...path: /fw-gui(/|$)(.*)

But there, I have a redirection to example.com/user_login?next=%2F, And not taking into account the /fw-gui/

Thanks

ibehren1 commented 3 months ago

The published docker container is not setup for this -- I think you will have to make some changes to the app or put Nginx in front of the app.

This link addresses such hosting of a flash app. https://stackoverflow.com/questions/67737069/how-to-host-a-flask-app-on-a-subfolder-url-prefix-with-nginx

Hope this helps.