NSPanelManager icon indicating copy to clipboard operation
NSPanelManager copied to clipboard

Allow configuration of url path

Open adrianipopescu opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. I'd like to host the app on a subpath rather than a specific subdomain when exposing via a proxy.

Describe the solution you'd like An env var or config file where I can specify where the app is located

Describe alternatives you've considered Proxying via subdomain or just exposing the ports, but I'd prefer to only expose the bare minimum of each app

Additional context Right now it's giving an error since it cannot map the routes. image

adrianipopescu avatar Nov 20 '24 12:11 adrianipopescu

Yhea, that sounds reasonable and would also help with hosting the manager as an HA addon using the ingress method instead.

tpanajott avatar Nov 20 '24 12:11 tpanajott

Not 100% the same but adjacent I would say:

I'm exposing it via traefik on a subdomain at the moment, but I'm still having some issue with the parsed url when trying to updatee the "GUI":

12:01:31 ERROR HttpLib.cpp:14 f(.GetFileSize) Failed to retrive file size for URL 'http://nspanelmanager.xxx.xxx:443/download_tft_eu'. Got return code: 404

When I manually try to browse to the url without the "Port" say "http://nspanelmanager.xxx.xxx/download_tft_eu" i can access the tft file fine.

But I can't specify "no port" or a Url to circumvent this Problem.

Currently I just expose a port, and that works fine.

Poizunlol avatar Jun 02 '25 10:06 Poizunlol

Not 100% the same but adjacent I would say:

I'm exposing it via traefik on a subdomain at the moment, but I'm still having some issue with the parsed url when trying to updatee the "GUI":

12:01:31 ERROR HttpLib.cpp:14 f(.GetFileSize) Failed to retrive file size for URL 'http://nspanelmanager.xxx.xxx:443/download_tft_eu'. Got return code: 404

When I manually try to browse to the url without the "Port" say "http://nspanelmanager.xxx.xxx/download_tft_eu" i can access the tft file fine.

But I can't specify "no port" or a Url to circumvent this Problem.

Currently I just expose a port, and that works fine.

Hi, i think this light be a separate issue. The problem for you is that the panel cant resolve names via DNS and as such the manager address needs to be an IP.

tpanajott avatar Jun 02 '25 11:06 tpanajott