Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singbox mux #778

Merged
merged 4 commits into from
Feb 3, 2024
Merged

Singbox mux #778

merged 4 commits into from
Feb 3, 2024

Conversation

fx505
Copy link
Contributor

@fx505 fx505 commented Feb 2, 2024

The SINGBOX_MUX_CONFIGURATION settings file is taken from the environment like below:

SINGBOX_MUX_CONFIGURATION = "templates/singbox/mux_conf.json

And finally adds this configuration to all outbound

 "multiplex": {
    "enabled": false,
    "protocol": "smux",
    "max_streams": 8
  }

Reference

@fx505
Copy link
Contributor Author

fx505 commented Feb 3, 2024

and other commits:

  1. max early data:
    old version:
"transport": {
        "type": "ws",
        "path": "/test/path?ed=2048",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }

new version:

"transport": {
        "type": "ws",
        "path": "/test/path",
        "max_early_data": "2048",
        "early_data_header_name": "Sec-WebSocket-Protocol",
        "headers": {
          "Host": "YOURDOMAINSERVER"
        }
      }

Reference

  1. fix http host
    The right place for http Request Host is in host, not in headers
    An example for vless-h2-Reality:
"transport": {
        "type": "http",
        "host": [
          "www.dell.com"
        ],
        "path": "/de-de",
        "idle_timeout": "15s",
        "ping_timeout": "15s"
      },

Reference

@SaintShit SaintShit merged commit 839be83 into Gozargah:dev Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants