Files

27 lines
519 B
Plaintext

[domain] {
import gateway_error
# Security Headers
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
X-Frame-Options SAMEORIGIN
X-Content-Type-Options nosniff
X-Xss-Protection "1; mode=block"
}
request_body {
max_size 512MB
}
# Blocca accesso a file nascosti
@hidden path_regexp ^/\.ht
respond @hidden 404
# API OpenAI-compatible vLLM (porta SERVE_PORT, nodo head del cluster Ray)
reverse_proxy [ip_address]:7000
log {
output file /var/log/caddy/vllm_access.log
}
}