mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 04:33:11 +03:00
chore(api): add favicon for all routes via nginx
This commit is contained in:
parent
100afe78ea
commit
41a800785f
3 changed files with 9 additions and 0 deletions
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -8,6 +8,7 @@ services:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./CertSSL:/etc/nginx/ssl
|
- ./CertSSL:/etc/nginx/ssl
|
||||||
- ./robots.txt:/etc/nginx/robots.txt
|
- ./robots.txt:/etc/nginx/robots.txt
|
||||||
|
- ./assets/logo.png:/etc/nginx/assets/logo.png
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
- chart
|
- chart
|
||||||
|
|
|
@ -61,6 +61,10 @@ http {
|
||||||
location /robots.txt {
|
location /robots.txt {
|
||||||
alias /etc/nginx/robots.txt;
|
alias /etc/nginx/robots.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /favicon.ico {
|
||||||
|
alias /etc/nginx/assets/logo.png;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -115,5 +119,9 @@ http {
|
||||||
location /robots.txt {
|
location /robots.txt {
|
||||||
alias /etc/nginx/robots.txt;
|
alias /etc/nginx/robots.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /favicon.ico {
|
||||||
|
alias /etc/nginx/assets/logo.png;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue