FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.99k stars 1.62k forks source link

change the default domain to custom #403

Closed Aronablade closed 1 year ago

Aronablade commented 1 year ago

Welcome

Description of the problem,screencshot would be good

hi, when you create a inbound without tls on, the panel set the default domain in uri as the address, how can i change it to custom one, let me explain my x-ray panel domain is ts.domain.com:8080 so when i scan barcodes and add the config to my phone the default address is the same as the panel ts.domain.com. what i want is my panel domain stay same but when someone scan barcodes the address be ts2.domain.com. i know when you enable tls you can put your desire domain in server name and it will do what i want. but when tls is off there is no way to do this and after scan address will be the same as the x-ray panel domain. is there any way to change config.json or... to do it?

Version of x-ui

```console $ x-ui version 1.8 ```

x-ui log or xray log

```console no log ```