Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx+fascgi alias не работает
Александр,
в конфиге всего 4 алиаса:
server {
listen 80;
server_name localhost;
access_log /var/log/httpd/localhost.bytes bytes;
access_log /var/log/httpd/localhost.log combined;
error_log /var/log/httpd/localhost.error.log warn;
location /nginx_status {
stub_status on;
access_log off;
stub_status on;
access_log off;
allow all;
}
location / {
root /home/public_html;
index index.html index.htm index.php;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass 127.0.0.1:11000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/home/public_html$fastcgi_script_name;
}
location /n {
include fastcgi_params;
fastcgi_pass 127.0.0.1:11000;
fastcgi_param SCRIPT_FILENAME
/var/www/html/test.php;
}
}
Все три алиаса кроме location /n работают...
Помогите пожалуйста разобраться
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,104149,104277#msg-104277
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|