Advertisement
Guest User

Untitled

a guest
May 30th, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. location /selfoss/ {
  2. try_files $uri $uri/ @selfoss;
  3. }
  4.  
  5. location @selfoss {
  6. rewrite /selfoss/ /selfoss/index.php;
  7. }
  8.  
  9. location ^/selfoss/index.php(/.*)?$ {
  10. fastcgi_split_path_info ^(/selfoss/index.php)(/.*)$;
  11. fastcgi_pass 127.0.0.1:9000;
  12. fastcgi_index index.php;
  13. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  14. fastcgi_param PATH_INFO $fastcgi_path_info;
  15. include fastcgi_params;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement