From 698913a351e4b03ecfd5646fe846e19c844090be Mon Sep 17 00:00:00 2001 From: happybell80 Date: Mon, 14 Jul 2025 19:30:53 +0900 Subject: [PATCH] Add /admin route for admin dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enable external access to admin dashboard via ro-being.com/admin - Proxy /admin requests to localhost:8000 - Maintain same proxy headers as API endpoints 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- server-nginx-default | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server-nginx-default b/server-nginx-default index c7efcf0..a78ed11 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -137,6 +137,15 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + # Admin dashboard + location /admin { + proxy_pass http://localhost:8000; + 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; + } + # RB10508 API endpoints location /rb10508/ { proxy_pass http://localhost:10508/;