mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update Caddyfile
This commit is contained in:
parent
3206fab2c9
commit
9f4b9350a3
1 changed files with 0 additions and 10 deletions
|
@ -22,16 +22,6 @@
|
|||
|
||||
redir /sitemap.xml /sitemap/sitemap.xml 301
|
||||
|
||||
@static {
|
||||
path *.html *.css *.js *.json *.xml *.txt *.ico
|
||||
path *.png *.jpg *.jpeg *.gif *.svg *.webp
|
||||
path *.woff *.woff2 *.ttf *.eot
|
||||
}
|
||||
header @static {
|
||||
Content-Type "{mime}; charset=utf-8"
|
||||
Cache-Control "public, max-age=31536000"
|
||||
}
|
||||
|
||||
@html_css_js {
|
||||
path *.html *.css *.js *.json *.xml *.txt
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue