Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. set $babel_root /home/nicolas/boinc_projects/babel;
  2.  
  3. root $babel_root/html/user;
  4. location / {
  5. index index.php;
  6. }
  7. location /ops { root $babel_root/html; }
  8.  
  9. location ~ ^/ops/(.*\.php)$ {
  10. alias $babel_root/html/ops/$1;
  11. include /etc/nginx/fastcgi_params;
  12. fastcgi_param SCRIPT_FILENAME $request_filename;
  13. fastcgi_pass unix:/tmp/php-fcgi.sock;
  14. fastcgi_index index.php;
  15. }
  16. location ~ \.php$ {
  17. include /etc/nginx/fastcgi_params;
  18. fastcgi_param SCRIPT_FILENAME $request_filename;
  19. fastcgi_pass unix:/tmp/php-fcgi.sock;
  20. fastcgi_index index.php;
  21. }
Add Comment
Please, Sign In to add comment