mv phpMyAdmin-4.9.5-all-languages /usr/share/phpmyadmin
vi /etc/nginx/sites-available/wordpress
….
location /phpmyadmin {
root /usr/share;
index index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}
allow 192.168.1.21;
deny all;
}
….
コメント