onasty/infra/caddy/Caddyfile(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
your.domain.name {
encode gzip
reverse_proxy /api/* core:8000
root * /srv/frontend
try_files {path} /index.html
file_server
header {
Strict-Transport-Security max-age=31536000;
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-XSS-Protection "1; mode=block"
}
}
|