BLUEBL0B / Secret-Sing-Box

A script for full Sing-Box server setup with NGINX or HAProxy camouflage
MIT License
54 stars 10 forks source link

easy uninstall and reinstall #6

Closed joestar9 closed 1 month ago

joestar9 commented 1 month ago

hi there 😇

Implement options to easily uninstall and reinstall:)

using HTTP-UPGRADE instead of old web socket

and if it possible to adding a document to manually running sing-box via nginx for education porpoises

and thanks for your hard work (●'◡'●)

BLUEBL0B commented 1 month ago

Hello! 1) It's a good idea, I think I will implement it soon 2) Why do you prefer HTTPupgrade? 3) Here is the folder with all configs for setting up sing-box via nginx manually: https://github.com/BLUEBL0B/Secret-Sing-Box/tree/main/Config-Examples-WS Nginx config for HTTPupgrade is very similar to the config for websocket as far as I know. You just have to install the needed packages before replacing configs. There are just a few commands, you can look them up in the script.

joestar9 commented 1 month ago

httpupgrade have better performance and it's more challenging for China and Iran firewalls to detect. the only drawback is that it does not support early data in Sing-Box

BLUEBL0B commented 1 month ago

I think I will make an option in the script for this type of transport