Good time. My site map is generated, so in nginx I cannot point the way to it. Please tell me how to fix this so that nginx would recognize the site.ru/sitemap.xml link?

Thank you in advance :)

Edited: Log entries

2017/09/06 15:24:06 [crit] 3124#0: accept4() failed (24: Too many open files) 2017/09/06 15:24:06 [alert] 3124#0: *4068 socket() failed (24: Too many open files) while connecting to upstream, client: xxx.124.139.xxx, server: xxx.by, request: "GET /sitemap.xml HTTP/1.0", upstream: "http://xxx.xxx.xxx.xxx:xx/site-map.xml", host: "xxx.by" 
  • one
    This concern is not nginx, but jungle, not? - andreymal
  • @andreymal so on the production everything works, and with nginx knocks an error - Artem Nester
  • Can create a new directive for /sitemap.xml and set a redirect to django in it ( proxy_pass localhost:port or something similar)? - diraria
  • @ArtemNester how is production then? - andreymal
  • one
    And, stop, 500 error? Well then it is necessary to read the logs - andreymal

0