部署完ssl证书之后,访问ip或者域名就变成下载!
下载的文件内容:
<?php/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */
/** * Tells WordPress to load the WordPress theme and output it. * * @var bool */define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */require __DIR__ . '/wp-blog-header.php;
原来显示PHP版本是静态。已经更新成php7.4了。重启PHP,nginx也重新加载了。还是不行!
访问就变成下载首页文件
|
|