mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 12:57:00 +05:30
Caddyfile: Set Cache-Control header for main site
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
e4c71da834
commit
0407b5e386
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ https://msfjarvis.website {
|
||||||
hook /githook {$WEBHOOK_PASSWORD}
|
hook /githook {$WEBHOOK_PASSWORD}
|
||||||
then hugo --destination=/var/www/msfjarvis.website --minify
|
then hugo --destination=/var/www/msfjarvis.website --minify
|
||||||
}
|
}
|
||||||
|
header / {
|
||||||
|
Cache-Control "max-age=2592000"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
https://build.msfjarvis.website {
|
https://build.msfjarvis.website {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue