22 lines
652 B
Text
22 lines
652 B
Text
keychain.agent.snw.su {
|
|
encode zstd gzip
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
|
|
X-Content-Type-Options nosniff
|
|
X-Frame-Options DENY
|
|
Referrer-Policy strict-origin-when-cross-origin
|
|
Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
|
}
|
|
|
|
handle /api/* {
|
|
reverse_proxy 127.0.0.1:8799
|
|
}
|
|
|
|
handle {
|
|
root * /srv/keychain/web
|
|
try_files {path} /index.html
|
|
file_server
|
|
}
|
|
}
|