Good day, there is nginx 1.10, tomcat 8. Nginx looks at tomkat.In tomkate, in the folder there is a new image Image.png, I go by urla, I don’t see the picture, but everything is fine with old images. Conf Nginx:

upstream upstr { server xx.xx.xxx.xxx:8080;} proxy_cache_path /var/cache/nginx levels=2:2 keys_zone=one:4000m inactive=10m max_size=50m; server { listen 7000; root /home/folder/media; client_max_body_size 10m; proxy_max_temp_file_size 0; location /api/images/ { alias /home/folder/media/; expires 1m; } location /images/ { alias /home/folder/media/; expires 1m; } location /api/*/images/ { alias /home/folder/media/; expires 1m; } location /resources/ { root /home/folder/apache-tomcat-8.0.35/webapps/ROOT/; expires 1m; } location / { proxy_pass http://upstr; proxy_set_header Host coolhost; proxy_read_timeout 300s; proxy_pass_header x-msisdn; } } 

Closed due to the fact that the essence of the question is not clear by the participants aleksandr barakin , cheops , zRrr , user194374, Streletz Jun 20 '16 at 7:19 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • To highlight the code at the beginning of each line should be 4 spaces;) - AivanF.
  • give (right in question) the url that you are accessing and the location of the file in the file system that should be given on this request. Correct the issue by clicking edit below the text of the question. - aleksandr barakin 5:02 pm
  • the issue has already been resolved, the balancer looked at the add. a node that is not yet configured)), thank you all - Maxim Kuznetsov

0