location /fias {
fastcgi_pass 127.0.0.1:9010;
include /etc/nginx/fastcgi_params;
if ($request_uri ~ ^/fias(.*)$ ) {
set $req_uri $1;
}
if ($document_uri ~ ^/fias(.*)$ ) {
set $doc_uri $1;
}
fastcgi_param REQUEST_URI $req_uri;
fastcgi_param DOCUMENT_URI $doc_uri;
}
Root URL:
http://cashrussia.local/regions
Location URL:
http://cashrussia.local/regions
Full URL:
http://cashrussia.local/regions?
Root URL:
http://cashrussia.local/
Location URL:
http://cashrussia.local/regions
Full URL:
http://cashrussia.local/regions?
Т.е. делал include fastcgi.conf — не помогло.
Вот его содержимое у меня:
Подтверждаю, убрал / в конце и перестало работать.