Marzban
Marzban copied to clipboard
Marzban doesn't include Host for Trojan Web socket
Hi
When I set Host
outside of header for Trojan Web socket inbounds no matter it's TLS or noTLS, marzban doesn't include host in configs and it leaves it empty so I have to set host manually in host settings.
Server inbound :
{
"tag": "TROJAN WS Header NoTLs",
"listen": "0.0.0.0",
"port": 443,
"protocol": "trojan",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/",
"host": "cloudflare.com"
},
Generated Client inbound :
...
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"headers": {},
"path": "/"
}
}
...