@
arcas 你好,能否帮我看看我这个conf文件配置的有没有问题?谢谢!
server {
listen 80;
#ipv6
#listen [::]:80 default_server;
root /var/www/
hyyy.tk;
#.......
index index.php index.html index.htm;
#....
server_name
hyyy.tk;
location / {
try_files / /index.html;
#
include dz.conf;
}
#......
#error_page 404 /404.html;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
}