code changes(Angularjs site) not reflecting on live server

December 4, 2016 246 views
Nginx

Hello everyone , i have create new drop-late with 512kb ram. also installed node js, nginx. The issue is that we are now making changes to the code live on the server, but whatever changes we make are not reflecting in the dashboard site hosted on the server. i have tried to restart nginx by using 'service nginx restart'. don't it work. what is do for that any solution regading this issue??

2 Answers

Hello,

i have tried to restart nginx by using 'service nginx restart'. don't it work
This is NEVER a good answer. Just by saying "it doesn't work" nobody can help you.
You need to give the ERRORS that the system gives, check logs, and give some more details.

Are you for example using caching methods?

You don't have to restart nginx in case of site changes. You need to do so only when you change Nginx configuration.

Main reason could be caching. Try clearing it from browser settings. If you don't want to do it you can try Incognito mode.
In case of Chrome, CTRL+SHIFT+R could be useful shortcut for Hard Reload.

Have another answer? Share your knowledge.