server {
listen 80;
root / home / wwwroot / blog_tag_gg / wwwroot;
server_name www.zfcdn.xyz;
rewrite ^ (. * ) $ https: //$host$1 permanent;
index index.html index.php index.htm;
error_page 400 / errpage / 400.html;
error_page 403 / errpage / 403.html;
error_page 404 / errpage / 404.html;
error_page 503 / errpage / 503.html;
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;
}
}
代码虽少但功能是全的,记录在案,防止忘记,
亲爱的:被墙域名跳转TG:@qianhenetwork QQ:851617266,可否收藏+评论+分享呢?
文章评论 本文章有个评论