-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCaddyfile
More file actions
33 lines (29 loc) · 749 Bytes
/
Caddyfile
File metadata and controls
33 lines (29 loc) · 749 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
29
30
31
32
33
draw.nulled.ai {
reverse_proxy canvas-a-i-o:3000
# Security headers
header {
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
X-XSS-Protection "1; mode=block"
Referrer-Policy "strict-origin-when-cross-origin"
Permissions-Policy "geolocation=(), microphone=(), camera=()"
}
# Logging
log {
output file /logs/caddy-access.log {
roll_size 100mb
roll_keep 5
roll_keep_for 720h
}
format json
level INFO
}
# Health check endpoint for monitoring
handle /health {
respond "OK" 200
}
}
# HTTP to HTTPS redirect
http://draw.nulled.ai {
redir https://draw.nulled.ai{uri} permanent
}