Skip to content

Commit

Permalink
chore(api): add favicon for all routes via nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Redume committed Dec 29, 2024
1 parent 100afe7 commit 41a8007
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ http {
location /robots.txt {
alias /etc/nginx/robots.txt;
}

location /favicon.ico {
alias /etc/nginx/assets/logo.png;
}
}

server {
Expand Down Expand Up @@ -115,5 +119,9 @@ http {
location /robots.txt {
alias /etc/nginx/robots.txt;
}

location /favicon.ico {
alias /etc/nginx/assets/logo.png;
}
}
}

0 comments on commit 41a8007

Please sign in to comment.