From a34f6ad5156a8683127edf443d24f593766ac78b Mon Sep 17 00:00:00 2001 From: vet Date: Tue, 21 Apr 2026 12:41:15 +0700 Subject: [PATCH] test --- nginx/openim-pc-proxy.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nginx/openim-pc-proxy.conf b/nginx/openim-pc-proxy.conf index a7a1048..ad7973b 100644 --- a/nginx/openim-pc-proxy.conf +++ b/nginx/openim-pc-proxy.conf @@ -222,6 +222,17 @@ server { client_max_body_size 100m; + location /api/ { + proxy_pass http://127.0.0.1:8281; + 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; + } + location = /nginx-health { access_log off; default_type text/plain;