Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java+php




:

location = / {
fastcgi_pass ...
fastcgi_param SCRIPT_FILENAME /home/sayt/www/scripts/index.php;
include fastcgi_params;
}

location ~ \.php$ {
fastcgi_pass ...
fastcgi_param SCRIPT_FILENAME /home/sayt/www/scripts$uri;
include fastcgi_params;
}

wiki, localhost:8180 - tomcat

location ~* /wiki {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

--
/ Alexander Petrovsky,

Jabber: juise@xxxxxxxxx
Phone: +7 914 8 820 815
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.