diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-04 20:49:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-04 20:49:12 +0900 |
| commit | ff959dadb1f990173b9df3105ccfc96b1c6c092e (patch) | |
| tree | 4690c2aabafaedb50f86ece4900c9616d9518947 /nginx.conf | |
| parent | fa7755592845a44928e88d2ab78cc04425aa9024 (diff) | |
| parent | f4bae7f755ca25b2547dc98b2db2fdb255948bc5 (diff) | |
| download | phperkaigi-2025-albatross-ff959dadb1f990173b9df3105ccfc96b1c6c092e.tar.gz phperkaigi-2025-albatross-ff959dadb1f990173b9df3105ccfc96b1c6c092e.tar.zst phperkaigi-2025-albatross-ff959dadb1f990173b9df3105ccfc96b1c6c092e.zip | |
Merge branch 'feat/admin-pages'
Diffstat (limited to 'nginx.conf')
| -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; |
