This commit is contained in:
vet
2026-04-14 11:14:51 +07:00
parent 58d379ec98
commit a5c6161b71
3 changed files with 17 additions and 0 deletions

View File

@@ -68,6 +68,18 @@ server {
proxy_send_timeout 300s;
}
# Admin API → admin-api :10009
location /api/admin/ {
proxy_pass http://127.0.0.1:10009/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
# MsgGateway WebSocket → openim-server :10001
location ^~ /msg_gateway {
proxy_pass http://127.0.0.1:10001;