前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
server { listen 80; server_name 改成自己的域名;
root 改成自己的文件目录;
location ^~ / { try_files $uri $uri/ /index.html;
proxy_set_header Cookie $http_cookie;
proxy_set_header Host $host:$server_port; } }