mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update Caddyfile
This commit is contained in:
parent
d52b874e8a
commit
1d24f3625a
1 changed files with 3 additions and 4 deletions
|
@ -32,11 +32,10 @@
|
|||
Cache-Control "public, max-age=31536000"
|
||||
}
|
||||
|
||||
header {
|
||||
X-Frame-Options "SAMEORIGIN"
|
||||
X-Content-Type-Options "nosniff"
|
||||
Referrer-Policy "strict-origin-when-cross-origin"
|
||||
@html_css_js {
|
||||
path *.html *.css *.js *.json *.xml *.txt
|
||||
}
|
||||
header @html_css_js Content-Type "{mime}; charset=utf-8"
|
||||
}
|
||||
|
||||
# HTTPS redirect (only if SSL is enabled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue