Guest User

Untitled

a guest
Jun 13th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name forum.tanlup.local;
  4.  
  5. access_log /var/log/nginx/tanlup.forum.access.log;
  6. error_log /var/log/nginx/tanlup.forum.error.log;
  7.  
  8. rewrite_log on;
  9. root /home/eber/Público/www/trych_forum;
  10. index index.php index.html index.htm;
  11.  
  12. location / {
  13. try_files $uri $uri/ /index.php?q=$request_uri;
  14. }
  15.  
  16. # Pass the PHP scripts to FastCGI server
  17. # listening on 127.0.0.1:9000
  18. location ~ \.php$ {
  19. fastcgi_pass 127.0.0.1:9000;
  20. fastcgi_index index.php;
  21. fastcgi_intercept_errors on;
  22. #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  23. include fastcgi_params;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment