24 lines
419 B
Plaintext
24 lines
419 B
Plaintext
# vim: ft=caddyfile
|
|
|
|
demo.bbaovanc.com {
|
|
import hsts
|
|
|
|
root * /var/www/demo.bbaovanc.com
|
|
handle /staging/* {
|
|
header Cache-Control no-cache
|
|
file_server {
|
|
browse
|
|
precompressed br gzip
|
|
}
|
|
}
|
|
handle {
|
|
header Cache-Control no-store
|
|
header X-Robots-Tag noindex
|
|
file_server {
|
|
browse
|
|
}
|
|
}
|
|
|
|
import basicerrors
|
|
}
|