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"
|
Cache-Control "public, max-age=31536000"
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
@html_css_js {
|
||||||
X-Frame-Options "SAMEORIGIN"
|
path *.html *.css *.js *.json *.xml *.txt
|
||||||
X-Content-Type-Options "nosniff"
|
|
||||||
Referrer-Policy "strict-origin-when-cross-origin"
|
|
||||||
}
|
}
|
||||||
|
header @html_css_js Content-Type "{mime}; charset=utf-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
# HTTPS redirect (only if SSL is enabled)
|
# HTTPS redirect (only if SSL is enabled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue