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許可證的許可。請參閱許可證文件以獲取更多信息。