mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 09:27:00 +05:30
Disable caching in website domains
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
43b829af0e
commit
1ca6bba03a
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,7 @@ https://msfjarvis.website {
|
|||
import compression_config
|
||||
root /var/www/msfjarvis.website/
|
||||
header / {
|
||||
Cache-Control "max-age=2592000"
|
||||
Cache-Control "no-cache"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -87,4 +87,7 @@ https://staging.msfjarvis.website {
|
|||
import base_config
|
||||
import compression_config
|
||||
root /var/www/msfjarvis.website.staging/
|
||||
header / {
|
||||
Cache-Control "no-cache"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue