server {
listen 80;
server_name 127.0.0.1;
root /srv/www/htdocs/;
client_max_body_size 10G;
fastcgi_buffers 64 4K;
gzip on;
location = /phpMyAdmin {
alias /srv/www/htdocs/phpMyAdmin/;
index index.html index.htm index.php
allow all;
}
location ~ \.php(?:$|/) {
root /srv/www/htdocs/phpMyAdmin/;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
#fastcgi_param HTTPS on;
fastcgi_intercept_errors on;
}
location ~ /\.ht {
deny all;
}
}