Compare commits

...
Author SHA1 Message Date
adminandClaude Opus 4.5 12d1e48b07 Add nginx proxy for admin server at /admin/
The admin server was exposed on port 8080 without TLS, making it
inaccessible from networks/browsers that block non-HTTPS traffic.

This adds an nginx route to proxy admin requests through HTTPS at
https://prod.eagle0.net/admin/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 15:32:36 -08:00
+9
View File
@@ -104,6 +104,15 @@ http {
proxy_set_header X-Real-IP $remote_addr;
}
# Admin server proxy
location /admin/ {
proxy_pass http://admin:8080/;
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;
}
# Health check endpoint
location /health {
access_log off;