diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-04 14:18:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-04 14:18:30 +0900 |
| commit | 1b794787a5194405cd99d80981008e20aa0e953d (patch) | |
| tree | 81befd0cb15b9a878e0f0ca068fe90f7a3376284 | |
| parent | fa7755592845a44928e88d2ab78cc04425aa9024 (diff) | |
| download | iosdc-japan-2024-albatross-1b794787a5194405cd99d80981008e20aa0e953d.tar.gz iosdc-japan-2024-albatross-1b794787a5194405cd99d80981008e20aa0e953d.tar.zst iosdc-japan-2024-albatross-1b794787a5194405cd99d80981008e20aa0e953d.zip | |
feat(proxy): proxy /admin/* to api-server
| -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; |
