Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # 404
  2. try_files $fastcgi_script_name =404;
  3.  
  4. # default fastcgi_params
  5. include fastcgi_params;
  6.  
  7. # fastcgi settings
  8. fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  9. fastcgi_index index.php;
  10. fastcgi_buffers 8 16k;
  11. fastcgi_buffer_size 32k;
  12.  
  13. # fastcgi params
  14. fastcgi_param DOCUMENT_ROOT $realpath_root;
  15. fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
  16. fastcgi_param PHP_ADMIN_VALUE "open_basedir=$base/:/usr/lib/php/:/tmp/";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement