fix(nginx): preserve /api/v1 prefix when proxying to api_yal, add favicon
This commit is contained in:
@@ -126,7 +126,7 @@ server {
|
|||||||
# ЛОКАЦИЯ: REST API (api_yal)
|
# ЛОКАЦИЯ: REST API (api_yal)
|
||||||
# ============================================
|
# ============================================
|
||||||
location /api/v1/ {
|
location /api/v1/ {
|
||||||
proxy_pass http://api_yal:8787/;
|
proxy_pass http://api_yal:8787;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<rect width="32" height="32" rx="6" fill="#196533"/>
|
||||||
|
<text x="16" y="23" font-size="20" font-family="serif" fill="white" text-anchor="middle">Я</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 224 B |
Reference in New Issue
Block a user