IP无法访问web页面
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537
.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
我也过了这个实验,并没有你所遇到的问题,请检查一下wordpress.conf文件。
server {
listen 80;
root /usr/share/wordpress;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php index.php;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}