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@xxxxxxxxxPhone: +7 914 8 820 815