SHARE
TWEET

Andy ixatio phpmyadmin nginx

a guest Aug 22nd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. location /phpmyadmin {
  2.     root /usr/share/;
  3.     index index.php;
  4.     try_files $uri $uri/ =404;
  5.  
  6. location ~ ^/phpmyadmin/(doc|sql|setup)/ {
  7.     deny all;
  8.     }
  9.  
  10. location ~ /phpmyadmin/(.+\.php)$ {
  11.     fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  12.     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  13.     include fastcgi_params;
  14.     include snippets/fastcgi-php.conf;
  15.     }
  16. }
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