Question

Nginx wont serve updated web content

  • Posted March 6, 2020
  • Nginx

Hi! I added new updated files for my website. I restarted Nginx and it still showing the old files and newer ones are missing or still didn’t update.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @SephiaSky,

I think that you might have to delete your default index file and change it with your own index.html file.

Can you share your Nginx configuration here and the content of your /var/www/html folder? To do that you can run:

  1. cat /etc/nginx/sites-enabled/default

And to check the content of your html folder you can run:

ls -lah /var/www/html

Regards, Bobby