Skip to content

Commit

Permalink
serve MobiData BW favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jan 16, 2024
1 parent c8b6b02 commit e6f5ddd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ services:
- ./etc/well-known/www:/var/www:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.well-known-uris.rule=PathPrefix(`/.well-known/`) || Path(`/robots.txt`)"
- "traefik.http.routers.well-known-uris.rule=PathPrefix(`/.well-known/`) || Path(`/robots.txt`) || Path(`/favicon.ico`)"
- "traefik.http.services.well-known-uris.loadbalancer.server.port=80"

goaccess:
Expand Down
3 changes: 3 additions & 0 deletions etc/well-known/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ http://:80 {
handle /robots.txt {
file_server
}
handle /favicon.ico {
file_server
}
handle_path /.well-known/* {
file_server
}
Expand Down
Binary file added etc/well-known/www/favicon.ico
Binary file not shown.

0 comments on commit e6f5ddd

Please sign in to comment.