SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.         listen 80;
  3.         listen [::]:80;
  4.  
  5.         server_name wp.mysite.com;
  6.         index index.php;
  7.         root /var/www/mysite.com/phpmyadmin;
  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_param DOCUMENT_ROOT             $realpath_root;
  14.         fastcgi_param SCRIPT_FILENAME   $realpath_root$fastcgi_script_name;
  15.         fastcgi_param PHP_ADMIN_VALUE   "open_basedir=$base/:/usr/lib/php/:/tmp/:/usr/share/:/var/run/php/:/etc/phpmyadmin/";
  16.  
  17.  
  18.        
  19.  
  20.  
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top