Guest User

default

a guest
Jul 19th, 2011
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 80 ;
  3. server_name localhost;
  4.  
  5. access_log /var/log/nginx/test1.access_log main;
  6. error_log /var/log/nginx/test1.error_log info;
  7. root /var/www/;
  8. index index.php;
  9.  
  10. location ~ \.php$ {
  11. #fastcgi_pass 127.0.0.1:9000;
  12. fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.www-data.socket-1;
  13. fastcgi_index index.php;
  14. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  15.  
  16. include fastcgi_params;
  17. }
  18. }
RAW Paste Data