diff --git a/deploy/nginx/h5.conf b/deploy/nginx/h5.conf index 6059bdb..9490a74 100644 --- a/deploy/nginx/h5.conf +++ b/deploy/nginx/h5.conf @@ -3,6 +3,9 @@ server { server_name _; root /usr/share/nginx/html; index index.html; + location = /index.html { + add_header Cache-Control "no-cache"; + } location / { try_files $uri $uri/ /index.html; }