Problem:
Occasionally upon doing npm run kill then npm start the application will error. This happens even with GZIP disabled on Nginx. It is possible to be a cache conflict between pm2 and nginx although we cannot find any documentation for it. Originally thought it was a mismatch between GZIP on NGINX and HU LTS. We use GZIP for our DOM masquerading feature where you can disguise pages as .ico files.
Current Solution:
systemctl restart nginx
npm run kill
npm run fresh-start
Repeat once or twice to retain normal behavior.
Problem:
Occasionally upon doing
npm run killthennpm startthe application will error. This happens even with GZIP disabled on Nginx. It is possible to be a cache conflict between pm2 and nginx although we cannot find any documentation for it. Originally thought it was a mismatch between GZIP on NGINX and HU LTS. We use GZIP for our DOM masquerading feature where you can disguise pages as .ico files.Current Solution:
Repeat once or twice to retain normal behavior.