waringid commented on issue #2266:
URL:
https://github.com/apache/apisix-dashboard/issues/2266#issuecomment-1002375931
1、Route config:
{
"uri": "/*",
"name": "route-nas-test",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"host": "nas.test.lan",
"plugins": {
"redirect": {
"http_to_https": true
}
},
"upstream": {
"nodes": [
{
"host": "192.168.113.13",
"port": 80,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"status": 1
}
2、disable websocket,error webpage show:

3、enable wobsocket(default config),auto refresh webpage show:


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]