Advertisement
arieonline

jaranguda.com

May 1st, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name jaranguda.com;
  4. root /usr/share/nginx/html/;
  5.  
  6. location / {
  7. index index.html index.htm index.php;
  8. try_files $uri $uri/ /index.php?$args;
  9. }
  10.  
  11. location ~ \.php$ {
  12. include /etc/nginx/fastcgi_params;
  13. fastcgi_pass 127.0.0.1:9000;
  14. fastcgi_index index.php;
  15. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement