add cache headers
This commit is contained in:
parent
cb01891adc
commit
e62f7e5821
|
@ -649,6 +649,8 @@ server {
|
||||||
location / {
|
location / {
|
||||||
root /var/www/rmm/dist;
|
root /var/www/rmm/dist;
|
||||||
try_files \$uri \$uri/ /index.html;
|
try_files \$uri \$uri/ /index.html;
|
||||||
|
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||||
|
add_header Pragma "no-cache";
|
||||||
}
|
}
|
||||||
error_log /var/log/nginx/frontend-error.log;
|
error_log /var/log/nginx/frontend-error.log;
|
||||||
access_log /var/log/nginx/frontend-access.log;
|
access_log /var/log/nginx/frontend-access.log;
|
||||||
|
@ -702,4 +704,4 @@ printf >&2 "${BLUE}Installation complete!${NC}\n\n"
|
||||||
printf >&2 "${BLUE}Please refer to the github README for next steps${NC}\n"
|
printf >&2 "${BLUE}Please refer to the github README for next steps${NC}\n"
|
||||||
printf >&2 "\n\n"
|
printf >&2 "\n\n"
|
||||||
printf >&2 "${BLUE}%0.s*${NC}" {1..80}
|
printf >&2 "${BLUE}%0.s*${NC}" {1..80}
|
||||||
printf >&2 "\n"
|
printf >&2 "\n"
|
||||||
|
|
Loading…
Reference in New Issue