Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 19th, 2010  |  syntax: None  |  size: 0.57 KB  |  views: 1,234  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data