服务器和客户端上指示的HTTPS之间不匹配

时间:2019-08-28 05:48:03

标签: php ssl https phpmyadmin mariadb

这是浏览器中的错误:

enter image description here

这是控制台:

enter image description here

配置文件为: / etc / nginx / sites-available / phpmyadmin

server {
    listen 80;
    listen [::]:80;

    root /var/www/phpmyadmin;

    # Add index.php to the list if you are using PHP
    index index.php index.html;

    server_name phpmyadmin.local phpmyadmin.local.sajib;

    location / {
        # First attempt to serve request as file, then
        # as directory, then fall back to displaying a 404.
        try_files $uri $uri/ =404;
        autoindex on;
    }

    # pass PHP scripts to FastCGI server
    #
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
    #
    #   # With php-fpm (or other unix sockets):
        fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
    #   # With php-cgi (or other tcp sockets):
    #   fastcgi_pass 127.0.0.1:9000;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /\.ht {
        deny all;
    }
}

phpMyAdmin版本:

5.1.0-dev

PHP版本:

PHP 7.2.21 -1 + ubuntu18.04.1 + deb.sury.org + 1(cli)(内置:2019年8月7日09:53:51)(NTS)

MariaDB版本:

mariadb Ver 15.1 Distrib 10.1.41-MariaDB ,用于使用readline 5.2的debian-linux-gnu(x86_64)

0 个答案:

没有答案