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

WBOY
Release: 2023-05-16 20:26:12
forward
1600 people have browsed it

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!