ng代理minio支持websocket

This commit is contained in:
2026-07-08 10:15:03 +08:00
parent 36e62a5360
commit eaec78354b
+2 -2
View File
@@ -73,7 +73,7 @@ server {
listen 80;
server_name pm.redpowerfuture.com;
location / {
proxy_pass http://192.168.0.83:8080;
proxy_pass http://__API_HOST__:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@@ -172,7 +172,7 @@ server {
return 403;
}
proxy_pass http://192.168.0.83:3000;
proxy_pass http://__API_HOST__:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;