[GH-ISSUE #4] Support for reverse proxy for web portal #127

Closed
opened 2026-03-01 18:43:45 +03:00 by kerem · 5 comments
Owner

Originally created by @ravensorb on GitHub (Apr 24, 2020).
Original GitHub issue: https://github.com/netbootxyz/webapp/issues/4

Originally assigned to: @thelamer on GitHub.

It would be great if there was a way to set the base url for the web interface -- this would allow it to work behind a reverse proxy or via a sub application

Ex: 192.168.1.2/web -> 192.168.10.2:3000

Originally created by @ravensorb on GitHub (Apr 24, 2020). Original GitHub issue: https://github.com/netbootxyz/webapp/issues/4 Originally assigned to: @thelamer on GitHub. It would be great if there was a way to set the base url for the web interface -- this would allow it to work behind a reverse proxy or via a sub application Ex: 192.168.1.2/web -> 192.168.10.2:3000
kerem closed this issue 2026-03-01 18:43:45 +03:00
Author
Owner

@thelamer commented on GitHub (Apr 24, 2020):

Relevant lines:
https://github.com/netbootxyz/webapp/blob/master/app.js#L34-L40
Need to if a env var and sub it into the paths if exists.

<!-- gh-comment-id:619275930 --> @thelamer commented on GitHub (Apr 24, 2020): Relevant lines: https://github.com/netbootxyz/webapp/blob/master/app.js#L34-L40 Need to if a env var and sub it into the paths if exists.
Author
Owner

@ravensorb commented on GitHub (Apr 24, 2020):

Question -- would it make sense to move the web portal behind nginix rather than having it run on a custom port?

<!-- gh-comment-id:619276869 --> @ravensorb commented on GitHub (Apr 24, 2020): Question -- would it make sense to move the web portal behind nginix rather than having it run on a custom port?
Author
Owner

@thelamer commented on GitHub (Apr 24, 2020):

The app uses socket.io to communicate on the backend , it is still possible to pipe through Nginx, but I really don't want to support that. Express server is reliable enough for this containers usecase.

<!-- gh-comment-id:619278084 --> @thelamer commented on GitHub (Apr 24, 2020): The app uses socket.io to communicate on the backend , it is still possible to pipe through Nginx, but I really don't want to support that. Express server is reliable enough for this containers usecase.
Author
Owner

@ravensorb commented on GitHub (Jun 11, 2020):

Fair enough -- being able to set a value for a reverse proxy base url would be good too.

<!-- gh-comment-id:642756963 --> @ravensorb commented on GitHub (Jun 11, 2020): Fair enough -- being able to set a value for a reverse proxy base url would be good too.
Author
Owner

@thelamer commented on GitHub (Apr 29, 2021):

Fixed in latest release, still need to add docs to the downstream repo for the new SUBFOLDER env variable.
https://github.com/linuxserver/docker-netbootxyz

<!-- gh-comment-id:829512748 --> @thelamer commented on GitHub (Apr 29, 2021): Fixed in latest release, still need to add docs to the downstream repo for the new `SUBFOLDER` env variable. https://github.com/linuxserver/docker-netbootxyz
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webapp#127
No description provided.