static: add standard headers
This commit is contained in:
parent
389df7965b
commit
4891305c29
@ -16,6 +16,14 @@ writeTextFile {
|
|||||||
|
|
||||||
@staticRoutes path /static/* /contact/* /blog/*
|
@staticRoutes path /static/* /contact/* /blog/*
|
||||||
route @staticRoutes {
|
route @staticRoutes {
|
||||||
|
header {
|
||||||
|
Cross-Origin-Opener-Policy same-origin
|
||||||
|
Referrer-Policy same-origin
|
||||||
|
X-Content-Type-Options nosniff
|
||||||
|
X-Frame-Options DENY
|
||||||
|
|
||||||
|
-Last-Modified
|
||||||
|
}
|
||||||
file_server * {
|
file_server * {
|
||||||
root ${e11sync-static}
|
root ${e11sync-static}
|
||||||
precompressed br gzip
|
precompressed br gzip
|
||||||
|
Loading…
Reference in New Issue
Block a user