Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 12th, 2013  |  syntax: None  |  size: 0.72 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. server {
  2.    listen 198.27.64.29:80;
  3.    listen 127.0.0.1:80;
  4.    listen [2607:5300:60:191d::1]:80;
  5.     server_name community.pcgamingwiki.com;
  6.     root /webroot/pcgw-extras/ipb;
  7.     client_max_body_size 2048m;
  8.  
  9.     server_name_in_redirect on;
  10.     error_page 500 501 502 503 504 /error.html;
  11.     error_page 404 /404.html;
  12.     index index.php index.html index.htm;
  13.     location / {
  14.         try_files $uri $uri/ /index.php?q=$request_uri;
  15.      }
  16.        
  17.      location ~ /\. {
  18.         deny all;
  19.      }
  20.  
  21.     location ~ \.php?$ {
  22.      include /etc/nginx/fastcgi_params;
  23.      fastcgi_pass unix:/var/run/php5-fpm.sock;
  24.      fastcgi_index index.php;
  25.      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  26.     }
  27.        
  28.  
  29. }