server {
listen 192.168.0.101:80;
server_name 192.168.0.101;
error_log debug;
#charset koi8-r;
#access_log logs/host.access.log main;
root /usr/share/nginx/pirlog.ro/;
autoindex on;
index index.html index.htm;
location ^~ /phpmyadmin {
root /usr/share/nginx;
index index.php;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
}
}