Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Configuration

Yu FranzKafka edited this page Oct 25, 2022 · 6 revisions

Panel Setting

This part is used for configuring Panel related,including:

  • Listening ip address:this indicates which IP should be listened by x-ui,if your server do have multiple IP and you want a specific IP to be used,you can configure it at here.If
  • Listening port:this indicates which port should be listened by x-ui,this port shouldn't have been used by other process.Or x-ui can't work properly.
  • SSL cert file path:this will let you set up SSL cert file which will be used to enable HTTPS connection.If you want to enable HTTPS,please set up this properly.Be careful the path should be absolute and ensure x-ui has enough permissions to read this file.If you use the integraded SSL issue,please use fullchain.cer at here.
  • SSL cert key path:this will let you set up SSL cert file which will be used to enable HTTPS connection.If you want to enable HTTPS,please set up this properly.Be careful the path should be absolute and ensure x-ui has enough permissions to read this file.
  • Panel root path:this indicates x-ui's root path,first time it will be '/',but when you have entered Panel Setting,it will be changed to random path,you may need login your server,type x-ui to enter control menu,and then type 7 to get the right root path.

User Setting

This part is used for configuring administrator related,including:

  • Old Username,will be used to verification if you need change administrator's Username and Password.
  • Old Password,will be used to verification if you need change administrator's Username and Password.
  • New Username,will be used as the new administrator's new username.
  • New Password,will be used as the new administrator's new password.

You need to click "modify" and restart panel to take effect.

Xray Config

Xray Config will let you customize your own config to some degree.
And the final config will be generated based on the template and inbounds(located in /usr/local/x-ui/bin),if you want costomize you own proxies,please modify Xray Config.You can modify the following parts:

  1. log
  2. dns
  3. routing
  4. policy
  5. outbounds
  6. transport
  7. reverse
  8. fakeDns

How to config these parts,you may need to refer to Official Document at here.Attention,if you have no idea to configure these,please don't modify them,or it may cause fata error.

TelegramBot

This is used for set up telegram bot related things,which can make you use telegram bot to manage your service.

  • Enable telegram bot:switch to enable or disable telegram bot.
  • Telegram bot Token:telegram bot token will be used to connect your bot
  • Telegram bot ChatId:telegram bot ChatId will be used to decide who have the control access to telegram bot.
  • Strategy for inbound expiration alert:this will be used for notifying you a specific inbound will be expired soon.