Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /phpmyadmin {
- root /usr/share/;
- index index.php;
- try_files $uri $uri/ =404;
- location ~ ^/phpmyadmin/(doc|sql|setup)/ {
- deny all;
- }
- location ~ /phpmyadmin/(.+\.php)$ {
- fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- include snippets/fastcgi-php.conf;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement