Removed favicon html injection
This commit is contained in:
9
traefik/config/middlewares/favicon-redirection.yml
Normal file
9
traefik/config/middlewares/favicon-redirection.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# /services/traefik/config/middlewares/favicon-redirection.yml
|
||||||
|
|
||||||
|
http:
|
||||||
|
middlewares:
|
||||||
|
favicon-redirection:
|
||||||
|
redirectRegex:
|
||||||
|
permanent: true
|
||||||
|
regex: ^.+\/favicon\.ico$
|
||||||
|
replacement: https://static.eliasfink.de/img/favicon/favicon.ico
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# /services/traefik/config/middlewares/favicon.yml
|
|
||||||
|
|
||||||
http:
|
|
||||||
middlewares:
|
|
||||||
# favicon-html-injection:
|
|
||||||
# plugin:
|
|
||||||
# rewritebody:
|
|
||||||
# lastModified: true
|
|
||||||
# rewrites:
|
|
||||||
# - regex: <\/head>
|
|
||||||
# replacement: |
|
|
||||||
# <link rel="icon" type="image/png" sizes="96x96" href="https://static.eliasfink.de/img/favicon/favicon-96x96.png"/>
|
|
||||||
# <link rel="icon" type="image/svg+xml" href="https://static.eliasfink.de/img/favicon/favicon.svg"/>
|
|
||||||
# <link rel="shortcut icon" href="https://static.eliasfink.de/img/favicon/favicon.ico"/>
|
|
||||||
# <link rel="apple-touch-icon" sizes="180x180" href="https://static.eliasfink.de/img/favicon/apple-touch-icon.png"/>
|
|
||||||
# <link rel="manifest" href="https://static.eliasfink.de/img/favicon/site.webmanifest"/>
|
|
||||||
# </head>
|
|
||||||
favicon-ico-redirection:
|
|
||||||
redirectRegex:
|
|
||||||
permanent: true
|
|
||||||
regex: ^.+\/favicon\.ico$
|
|
||||||
replacement: https://static.eliasfink.de/img/favicon/favicon.ico
|
|
||||||
Reference in New Issue
Block a user