本人的纯ipv6VPS,贡献给大家。
『回复列表(49|隐藏机器人聊天)』
/etc/nginx/http.d/
下面新建一个.conf的配置文件,名称随意,比如我的mxjdi.conf
然后输入下载这段代码
server {
listen 80;
listen [::]:80;
server_name mxjdi.ga;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/mxjdi.ga;
location ~ [^/].php(/|$)
{
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}
其中mxjdi.ga是域名, /home/wwwroot/mxjdi.ga是程序存放的目录,这两个需要修改成你自己的,
然后保存,执行下面的命令
service nginx start
接下来就可以去Cloudflare解析域名了,这个网上很多,你百度一下,我就不说了
小米11PRO(黑)