diff options
| -rw-r--r-- | nginx.conf | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,6 +20,14 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } + location /admin/ { + proxy_pass http://api-server; + 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; + } + location /sock/ { proxy_pass http://api-server; proxy_http_version 1.1; |
