私はUbuntuシステムでNginxを正常に設定しました。NginxでPHPMYadminを設定する方法(Ubuntu 14.04)
また、PHPとPHpMyadminも正常にインストールされています。私はphpMyAdminのログインパネルを開こうとするが、それは403禁止
私のnginxのサーバー構成は、私がこの
location = /phpmyadmin/ {
root /usr/share/phpmyadmin/;
}
のようなphpMyAdminの部分は任意の缶に構成された本
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/html/;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name localhost;
location/{
try_files $uri $uri/ =404;
}
location = /phpmyadmin/ {
root /usr/share/phpmyadmin/;
}
location ~ .php$ {
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
のように見える返します1つは設定で私を助ける