mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #926] allow websocket for custom locations #786
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#786
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 @GurjinderSingh on GitHub (Mar 5, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/926
thank you for creating marvellous product.
Is your feature request related to a problem? Please describe.
current websocket options only working for location "/"
Describe the solution you'd like
need to add on/off checkbox for custom location to allow web socket.
needs to add these extra config in custom locations.
Describe alternatives you've considered
i don't think so.
Additional context
https://github.com/jc21/nginx-proxy-manager/issues/723#issuecomment-791188669
@Stealthii commented on GitHub (Apr 13, 2021):
This is in tandem with the "Force HTTPS" option. Both of these are incorrectly placed under the "location /" section, rather than the root config (like asset caching, block common exploits, and HTTP/2 support).
It would make sense (in most cases) for these options to apply to all custom locations, rather than be configurable per location. A quick fix would be to move these definitions into the root config, with a future enhancement to make these options more configurable (however custom configuration exists already to override / add parameters.)
@Stealthii commented on GitHub (Apr 13, 2021):
Submitted PR #1017 to fix this issue.
@jc21 commented on GitHub (May 10, 2021):
So as we discovered, that broke websockets for
location /because of they way proxy headers are used. Instead I think the fix should be to add the websockets and force https checks within the custom locations section when generating the nginx conf.#1081 is already created for that, but requires a lot of testing
@github-actions[bot] commented on GitHub (Mar 17, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 29, 2025):
Issue was closed due to inactivity.