On Monday 12 January 2015 15:55:27 Ivan wrote: > Спасибо за ответ, но к сожалению не помог, получаю ошибку 404 > 2015/01/11 20:34:19 [error] 10334#0: *1 FastCGI sent in stderr: "Unable to > open primary script: /www/flow.su/content/autodiscover/autodiscover.xml (No > such file or directory)" while reading response header from upstream, > client: 37.145.72.79, server: flow.su, request: "GET /autodiscover/ > HTTP/1.1", upstream: "fastcgi://127.0.0.1:9900", host: > "autodiscover.flow.su" > > Возможно, сразу стоило привести кусок конфига > server { > listen *:80; > listen [::]:80; > server_name flow.su www.flow.su autodiscover.flow.su; > root /www/flow.su/content; > location / { index index.html; } > > location ~ "^/+[aA]utodiscover/+[aA]utodiscover\.xml$" { > index autodiscover.xml; > try_files $fastcgi_script_name =404; > fastcgi_pass 127.0.0.1:9999; > fastcgi_index autodiscover.xml; > fastcgi_param HTTPS on; > fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; [..]
fastcgi_param SCRIPT_FILENAME $document_root/autodiscover.xml; -- Валентин Бартенев _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru