SHARE
TWEET

Untitled

a guest Nov 19th, 2010 1,748 Never
  1. server {
  2.     listen       192.168.0.101:80;
  3.     server_name  192.168.0.101;
  4.     error_log debug;
  5.     #charset koi8-r;
  6.  
  7.     #access_log  logs/host.access.log  main;
  8.  
  9.     root   /usr/share/nginx/pirlog.ro/;
  10.     autoindex on;
  11.     index  index.html index.htm;
  12.  
  13.     location ^~ /phpmyadmin {
  14.         root /usr/share/nginx;
  15.         index index.php;
  16.  
  17.         location ~ \.php$ {
  18.             fastcgi_pass   127.0.0.1:9000;
  19.             fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
  20.             include        /etc/nginx/fastcgi_params;
  21.         }
  22.     }
  23. }
RAW Paste Data
Top