Question

Python web page not updating/changing

Posted March 14, 2020 78 views
NginxPython

I followed the guide here, which worked fine.

/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04

But when I change content within the myproject.py file nothing changes!

eg:

return "<h1 style='color:blue'>Hello There!</h1>"

to

return "<h1 style='color:blue'>Hello World!</h1>"

I am hoping there is some kind of setting that will just use the new pages as I have uploaded them and not cache any code files.

?

2 comments
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!