mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #340] Error 400 on dotnet core + Blazor server application websocket #300
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#300
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 @damianog on GitHub (Mar 27, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/340
I deployed a dotnet core application based on Blazor that make use of websocket communication.
a simple post on the host-proxy caused an Error 400 page
I am running the docker nginx proxy manager image v2.2.0
I configured my host-proxy by enabling with an SSL certificarte
I managed to fix this strange behavior by editing the template file:
/app/templates/proxy_host.conf
and changed the following line
proxy_set_header Connection "upgrade";in
proxy_set_header Connection $http_connection;Than after creating the host-proxy all run perfectly.
Here the origin of solution
https://github.com/aspnet/KestrelHttpServer/issues/1263
@jc21 commented on GitHub (Apr 5, 2020):
Thanks for doing the investigation. This all makes sense. I'll merge soon.