Open SquirHong opened 3 months ago
The following is a partial configuration of nginx server { listen 80;
# listen [::]:80; server_name sub.domain.com; location / { proxy_pass http://localhost:3001; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; }
} How do I change this parameter in the apisix configuration or when configuring route on the dashboard
apisix version
uname -a
openresty -V
nginx -V
curl http://127.0.0.1:9090/v1/server_info
luarocks --version
Looks like you're using websocket,you can use enable_websocket parameter in route ref:
enable_websocket
Description
The following is a partial configuration of nginx server { listen 80;
Remove '#' in the next line to enable IPv6
} How do I change this parameter in the apisix configuration or when configuring route on the dashboard
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):