Advertisement
Guest User

Untitled

a guest
Aug 13th, 2012
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name localhost;
  4. access_log /home/whitey/sites/localhost/logs/access.log;
  5. error_log /home/whitey/sites/localhost/logs/error.log;
  6. root /home/whitey/sites/localhost/htdocs;
  7. index index.html index.php /index.php;
  8.  
  9. location / {
  10.  
  11. }
  12.  
  13. location ~ \.php$ {
  14. fastcgi_pass unix:/tmp/phpfpm.sock;
  15. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  16. include fastcgi_params;
  17. }
  18.  
  19. location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
  20. expires max;
  21. }
  22.  
  23. location /RPC2 {
  24. include scgi_params;
  25. scgi_pass unix:/tmp/rpc.sock;
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement