Problem nginx proxy_pass cache static resources resulting html and js

text

Yesterday pull the front of static resources to my local computer to run the test and found that no matter how old or deleted found js, and finally restart nginx resolved. Checked the data, the Internet, said the proxy_pass nginx will cache static resources, my local nginx configuration is as follows:

server{
		listen 80;
		server_name dev.xxx.com ;
		location / {
			proxy_pass http://localhost:8084;
		}
        location ^~ /standard/razmall {
           proxy_set_header   Host    $proxy_host;
           proxy_pass http://static.xxx.com/en/razmall;
        }
	}

to sum up

  • Nginx configuration unfamiliar

Guess you like

Origin blog.csdn.net/EdwardDrew/article/details/91950511