nginxの設定
中々confファイルの設定がうまくいかなかったのですが、やってたら動いたので載せておきます。
server {
listen 8080;
server_name localhost;
index index.php;
location /phpMyAdmin {
alias /usr/share/phpMyAdmin/;
index index.php index.html;
location ~ ^/phpMyAdmin/(.+\.php)$ {
alias /usr/share/phpMyAdmin;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/phpMyAdmin/$1;
include fastcgi_params;
fastcgi_intercept_errors on;
allow all;
}
}
}


