add cache headers

This commit is contained in:
wh1te909 2019-11-17 10:12:40 +00:00
parent cb01891adc
commit e62f7e5821
1 changed files with 3 additions and 1 deletions

View File

@ -649,6 +649,8 @@ server {
location / {
root /var/www/rmm/dist;
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;
access_log /var/log/nginx/frontend-access.log;