From 57cb3ffd74c21292ae69204cf03d1bb08487c3d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Mon, 24 Aug 2026 13:15:40 +0800 Subject: [PATCH] =?UTF-8?q?admin-ui=20ng=E8=BD=AC=E5=8F=91=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ngnix.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ngnix.conf b/ngnix.conf index 9630316..915ce8f 100644 --- a/ngnix.conf +++ b/ngnix.conf @@ -146,6 +146,19 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } } +# observer HTTP(仅 HTTP) +server { + listen 80; + server_name observer.redpowerfuture.com; + location / { + proxy_pass http://__API_HOST__:18080; + 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; + } +} # ==================== 主站 HTTPS(静态文件 + API 反向代理) ==================== server { root /usr/share/nginx/html;