Home  >  Article  >  Operation and Maintenance  >  How to solve the problem that the page does not refresh due to nginx configuration in Linux environment

How to solve the problem that the page does not refresh due to nginx configuration in Linux environment

WBOY
WBOYforward
2023-05-16 20:26:121602browse

In the Linux environment, nginx load balancing is configured. Because the cache mechanism may not be successfully configured in the virtual host configuration file nginx.conf, the page does not refresh and the content in the cache is still displayed.

Finally, comment on the relevant cache configuration in the nginx.conf file, and then go to the tmp directory to view the generated cache file, as shown in the figure:

How to solve the problem that the page does not refresh due to nginx configuration in Linux environment

Here We need to delete the proxy_cache and proxy_temp files:

How to solve the problem that the page does not refresh due to nginx configuration in Linux environment

Restart the nginx service: sercive nginx restart

The above is the detailed content of How to solve the problem that the page does not refresh due to nginx configuration in Linux environment. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete