Advertisement
Guest User

Pufferpanel.conf

a guest
Sep 15th, 2016
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. server {
  2. listen 80;
  3. root /srv/pufferpanel;
  4. index index.php;
  5.  
  6. server_name myip;
  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 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.  
  25. #server {
  26. # listen 443;
  27. # root /srv/pufferpanel;
  28. # index index.php;
  29. #
  30. # server_name myip;
  31. #
  32. # ssl on;
  33. # ssl_certificate /etc/nginx/ssl/myip.crt;
  34. # ssl_certificate_key /etc/nginx/ssl/myip.key;
  35. #
  36. # location / {
  37. # try_files /public/router.php =404;
  38. # fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  39. # fastcgi_pass 127.0.0.1:9000;
  40. # fastcgi_index router.php;
  41. # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  42. # include /etc/nginx/fastcgi_params;
  43. # }
  44. #
  45. # location /assets {
  46. # try_files /app/$uri =404;
  47. # }
  48. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement