Skip to content

Instantly share code, notes, and snippets.

@zeeZ
Forked from Ivoz/home
Created October 31, 2011 13:52
Show Gist options
  • Save zeeZ/1327540 to your computer and use it in GitHub Desktop.
Save zeeZ/1327540 to your computer and use it in GitHub Desktop.
#conf/php
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
server {
server_name localhost;
listen 127.0.0.1:80;
root /home/ivo/www/home/public_html;
index index.php index.html;
error_log /home/ivo/www/home/error.log;# debug;
access_log /home/ivo/www/home/access.log;
location ^~ /phpmyadmin {
root /usr/share;
allow 127.0.0.1;
deny all;
include php;
}
include php;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment