Advertisement
Guest User

Untitled

a guest
May 4th, 2016
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. server {
  2. listen 81;
  3. root /srv/pufferpanel/;
  4. index index.php;
  5.  
  6. server_name (i just hide it but i know how to fill this line);
  7.  
  8. client_max_body_size 20m;
  9. client_body_timeout 120s;
  10.  
  11. location / {
  12. try_files /public/router.php =404;
  13. fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  14. fastcgi_pass unix:127.0.0.1:9000;
  15. fastcgi_index router.php;
  16. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  17. include /etc/nginx/fastcgi_params;
  18. }
  19.  
  20. location /assets {
  21. try_files /app/$uri =404;
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement