Home > database >  NodeJs / React wan't refresh files over https
NodeJs / React wan't refresh files over https

Time:01-28

I have a boring problem that I can't solve..

I tried in all ways but I don't understand why if I call the application through the IP:3000 it loads updated files, but if I try to call it trough https://domainname.ext it doesn't want to serve new files.

I tried to delete node_modules and rebuild it (npm install); to run "npm run eject" and rebuild the app; pm2 kill and restart; reboot the server but nothing...

The App is configured to run with Nginx as reverse proxy over https.

CodePudding user response:

Classically one of the following solutions:

  • Browser cache ("external" Domains are cached, IPs not). Try a different Browser
  • Actually 2 apps running. Try to kill the process and see if it really goes down
  • Nginx caching?

CodePudding user response:

Finally

  • Related