Guest User

Untitled

a guest
Apr 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name icebrg.us iostrea.me corton.iostrea.me localhost;
  4.  
  5. #charset koi8-r;
  6. #access_log logs/host.access.log main;
  7.  
  8. root /srv/http/default;
  9.  
  10. location / {
  11. index index.html index.htm index.php;
  12. }
  13.  
  14. location /wiki {
  15. index doku.php;
  16. }
  17.  
  18. location /w {
  19. index index.php;
  20. try_files $uri $uri/ /w/index.php?title=$1&$2;
  21. }
  22.  
  23. location ~ \.php$ {
  24. try_files $uri $uri/ =404;
  25. include fastcgi_params;
  26. fastcgi_pass 127.0.0.1:9000;
  27. fastcgi_index index.php;
  28. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  29. }
  30. }
Add Comment
Please, Sign In to add comment