mirror of
https://github.com/netbootxyz/webapp.git
synced 2026-04-25 07:05:59 +03:00
[GH-ISSUE #4] Support for reverse proxy for web portal #127
Labels
No labels
Hacktoberfest
bug
enhancement
no-issue-activity
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webapp#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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?
@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.
@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.
@thelamer commented on GitHub (Apr 29, 2021):
Fixed in latest release, still need to add docs to the downstream repo for the new
SUBFOLDERenv variable.https://github.com/linuxserver/docker-netbootxyz