-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCaddyfile
More file actions
17 lines (17 loc) · 663 Bytes
/
Caddyfile
File metadata and controls
17 lines (17 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dockerimagesave.yourdomain.org {
reverse_proxy dockerimagesave:8080
header Access-Control-Allow-Methods "GET, OPTIONS"
header Access-Control-Allow-Headers "Content-Type, Accept, Range, Content-Disposition"
header Access-Control-Allow-Origin "*"
header X-Content-Type-Options "nosniff"
header X-Frame-Options "DENY"
header Referrer-Policy "strict-origin-when-cross-origin"
log {
output file /logs/access.log {
roll_size 1gb
roll_keep 5
roll_keep_for 720h
}
level INFO
}
}