Files
learning-platform/Caddyfile.test
RaymondVerhoef e783c5f1e7
Some checks failed
On Push to Main / test (push) Has been cancelled
On Push to Main / publish (push) Has been cancelled
On Push to Main / deploy-dev (push) Has been cancelled
feat: implement Docker-based production deployment pipeline with automated Ansible provisioning, CI/CD workflows, and Caddy server configuration.
2026-05-14 10:21:42 +02:00

26 lines
427 B
Caddyfile

:80 {
root * /srv
file_server
encode gzip
header {
X-Frame-Options "SAMEORIGIN"
X-Content-Type-Options "nosniff"
X-XSS-Protection "1; mode=block"
Referrer-Policy "strict-origin-when-cross-origin"
}
try_files {path} /index.html
handle_errors {
rewrite * /index.html
file_server
}
log {
output stdout
format console
}
}