mirror of
https://github.com/goharbor/harbor
synced 2025-04-21 17:14:12 +00:00
Merge pull request #8912 from ninjadq/no_cache_index_html
Add no-cache to index.html
This commit is contained in:
commit
b75cbe1a7e
@ -30,5 +30,9 @@ http {
|
|||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /index.html {
|
||||||
|
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user