Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. server {
  2. server_name doge.ml;
  3. listen 80;
  4. root /srv/http/doge/public;
  5.  
  6. location @foolfuuka {
  7. rewrite ^ /index.php?/$request_uri;
  8. }
  9.  
  10. location / {
  11. try_files $uri $uri/ @foolfuuka;
  12. }
  13.  
  14. location ~ \.php$ {
  15. fastcgi_read_timeout 90;
  16. fastcgi_pass unix:/var/run/php5-fpm.sock;
  17. fastcgi_index index.php;
  18. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  19. fastcgi_param PATH_INFO $fastcgi_path_info;
  20. fastcgi_split_path_info ^(.+\.php)(.*)$;
  21. include fastcgi_params;
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement