아래 항목이 설치된 VPS가 있습니다.
Nginx, PHP 7.2.22, 10.3.18-MariaDB
최근 PHP 버전을 7.1.17에서 7.2.22로 업데이트했습니다.. 이후 웹사이트는 잘 작동합니다.. 비밀번호 보호 기능이 있는 사용자 정의 디렉터리에 설정된 PHPMyAdmin이 작동하지 않습니다.. 아래 오류가 나타납니다.
에러 발생됨. 죄송합니다. 찾으시는 페이지는 현재 사용할 수 없습니다. 나중에 다시 시도 해주십시오.
이 리소스의 시스템 관리자인 경우 자세한 내용은 오류 로그를 확인해야 합니다.
충실히 당신의 것, nginx.
도메인에 대한 내 Nginx 구성은 다음과 같습니다.
server {
listen 80;
server_name domain.cc www.domain.cc;
return 301 https://$server_name$request_uri;
}
server {
server_name domain.tv w2.domain.co domain.co domain.co;
#return 301 https://domain.cc$request_uri;
rewrite ^ $scheme://domain.cc$request_uri permanent;
}
server {
listen 443 ssl;
server_name domain.cc www.domain.cc;
ssl_certificate /etc/nginx/ssl/domain.crt;
ssl_certificate_key /etc/nginx/ssl/domain.key;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
error_log /home/nginx/domain.cc/log/error.log error;
#root /usr/share/nginx/html;
root /home/nginx/domain.cc/public_html;
location / {
# root /usr/share/nginx/html;
# index index.html index.htm;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location /ScopephpAdmin {
auth_basic "Admin Login";
auth_basic_user_file /etc/nginx/.htpasswd;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/staticfiles.conf;
include /etc/nginx/conf.d/block.conf;
}
이 문제를 해결하도록 도와주세요.