Deactivated favicon html injection
This commit is contained in:
@@ -5,6 +5,6 @@ http:
|
||||
default-chain:
|
||||
chain:
|
||||
middlewares:
|
||||
- favicon-html-injection
|
||||
# - favicon-html-injection
|
||||
- favicon-ico-redirection
|
||||
- security-headers
|
||||
@@ -2,19 +2,19 @@
|
||||
|
||||
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-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
|
||||
|
||||
Reference in New Issue
Block a user