19 lines
349 B
Caddyfile
19 lines
349 B
Caddyfile
{
|
|
admin off
|
|
}
|
|
|
|
:80, :8080 {
|
|
root * .
|
|
file_server
|
|
encode gzip zstd
|
|
|
|
# キャッシュを一切使用せず常に最新を取得するヘッダー設定
|
|
header {
|
|
Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
|
|
Pragma "no-cache"
|
|
Expires "0"
|
|
-ETag
|
|
-Last-Modified
|
|
}
|
|
}
|