BanchoNET
1.0.0
OSU!Bancho服务器的dotnet实现。
转到项目部分,查看Banchonet项目的进度。
要构建Banchonet服务器,请执行以下步骤:
git clone https://github.com/NovemoG/BanchoNET.git cd BanchoNETdotnet restoredotnet build这将在./bin/Debug/net8.0目录中创建您的项目的构建。
cd /etc/nginx/sites-enabledtouch banchonet.conf server {
listen 80;
server_name c.DOMAIN;
location / {
proxy_pass https://0.0.0.0:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
server {
listen 443 ssl;
server_name osu.DOMAIN c4.DOMAIN c.DOMAIN;
location / {
proxy_pass https://0.0.0.0:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
用您的域替换DOMAIN 。
添加上面的配置文件中存在的所有子域记录。
要运行Banchonet服务器,请执行以下步骤:
cd BanchoNETdotnet run这将启动Banchonet服务器。您应该看到指示服务器正在运行的输出。
我们计划添加Docker支持。
git checkout -b feature/AmazingFeaturegit commit -m 'Add some AmazingFeature'git push origin feature/AmazingFeatureBancho.net已获得MIT许可证的许可。请参阅许可证文件以获取更多信息。