chore(api): add favicon for all routes via nginx

This commit is contained in:
Данил 2024-12-29 13:03:51 +03:00
parent 100afe78ea
commit 41a800785f
3 changed files with 9 additions and 0 deletions

BIN
assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -8,6 +8,7 @@ services:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./CertSSL:/etc/nginx/ssl
- ./robots.txt:/etc/nginx/robots.txt
- ./assets/logo.png:/etc/nginx/assets/logo.png
depends_on:
- server
- chart

View file

@ -61,6 +61,10 @@ http {
location /robots.txt {
alias /etc/nginx/robots.txt;
}
location /favicon.ico {
alias /etc/nginx/assets/logo.png;
}
}
server {
@ -115,5 +119,9 @@ http {
location /robots.txt {
alias /etc/nginx/robots.txt;
}
location /favicon.ico {
alias /etc/nginx/assets/logo.png;
}
}
}