Add favicon configuration to Caddyfile
- Added favicon.ico redirect to favicon.png (301 redirect) - Added favicon.png serving from /app/dist directory - This fixes favicon loading issues in browsers - Both favicon.ico and favicon.png requests are now handled correctly
This commit is contained in:
10
Caddyfile
10
Caddyfile
@@ -37,3 +37,13 @@ stargirlnails.de {
|
|||||||
http://stargirlnails.de {
|
http://stargirlnails.de {
|
||||||
redir https://stargirlnails.de{uri} permanent
|
redir https://stargirlnails.de{uri} permanent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Favicon-Konfiguration
|
||||||
|
favicon.ico {
|
||||||
|
redir /favicon.png 301
|
||||||
|
}
|
||||||
|
|
||||||
|
favicon.png {
|
||||||
|
root * /app/dist
|
||||||
|
file favicon.png
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user