Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $babel_root /home/nicolas/boinc_projects/babel;
- root $babel_root/html/user;
- location / {
- index index.php;
- }
- location /ops { root $babel_root/html; }
- location ~ ^/ops/(.*\.php)$ {
- alias $babel_root/html/ops/$1;
- include /etc/nginx/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $request_filename;
- fastcgi_pass unix:/tmp/php-fcgi.sock;
- fastcgi_index index.php;
- }
- location ~ \.php$ {
- include /etc/nginx/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $request_filename;
- fastcgi_pass unix:/tmp/php-fcgi.sock;
- fastcgi_index index.php;
- }
Add Comment
Please, Sign In to add comment