-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCaddyfile
More file actions
28 lines (24 loc) · 995 Bytes
/
Copy pathCaddyfile
File metadata and controls
28 lines (24 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ─────────────────────────────────────────────────────────────────────────────
# DerList Caddy Configuration
#
# Caddy automatically provisions and renews TLS certificates via Let's Encrypt.
# Replace the domain below with your actual domain.
# ─────────────────────────────────────────────────────────────────────────────
{$DOMAIN:derlist.dpdns.org} {
reverse_proxy app:3000
# Security headers
header {
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
Permissions-Policy "camera=(), microphone=(), geolocation=()"
-Server
}
# Gzip compression
encode gzip
# Logs
log {
output stdout
format console
}
}