Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Nginx Websocket problem <SOLVED>
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nginx Websocket problem <SOLVED> (Read 3824 times)
michaelgo
Jr. Member
Posts: 52
Karma: 1
Nginx Websocket problem <SOLVED>
«
on:
June 03, 2021, 03:43:07 pm »
Hi,
latest version
1 upstream server
direct connection to server works just fine including ws
when reverse proxying through nginx (websocket enabled in advanced location settings) ws returns 400
please, help
--
solved by adding in nginx.conf
location / {
proxy_pass http://$upstream;
}
«
Last Edit: June 03, 2021, 04:13:38 pm by michaelgo
»
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Nginx Websocket problem <SOLVED>
«
Reply #1 on:
June 03, 2021, 06:58:24 pm »
I don't know why this is solved if there is no response yet.
However there is a checkbox for websockets. This will set the backend connection to HTTP/1.1 instead of HTTP/1.0.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Nginx Websocket problem <SOLVED>