mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2026-02-21 19:12:05 +00:00
Add rewrite rule to make favicon directly available at /favicon.ico
This commit is contained in:
parent
fdce86394e
commit
ad8220249d
@ -52,6 +52,8 @@ RewriteRule .* https://<%= URI.parse(casper[:blog][:url]).host %>%{REQUEST_URI}
|
||||
RewriteCond %{HTTP_HOST} !=<%= URI.parse(casper[:blog][:url]).host %> [NC]
|
||||
RewriteRule .* https://<%= URI.parse(casper[:blog][:url]).host %>%{REQUEST_URI} [R=301,L,QSA]
|
||||
|
||||
RewriteRule ^favicon.ico$ /images/favicon.ico
|
||||
|
||||
# Use gziped content if possible
|
||||
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b
|
||||
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user