mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Add no-cache to index.html
shouldn't cache index.html for access fresh page after upgrade. Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
parent
8fd8c5f345
commit
d50df0f0db
@ -30,5 +30,9 @@ http {
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location = /index.html {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user