Advertisement
Guest User

Untitled

a guest
Aug 12th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement