mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-13 16:45:03 +03:00
Updated Configuration (markdown)
+28
-17
@@ -1,21 +1,32 @@
|
|||||||
## Environment variables
|
## Available environment variables
|
||||||
|
|
||||||
### XUI_LOG_LEVEL
|
### `XUI_LOG_LEVEL`
|
||||||
* Description: none
|
* **Description**: Default log level
|
||||||
* Type: `debug` | `info` | `warn` | `error` (**`string`**)
|
* **Type**: `string`
|
||||||
* Default value: `info`
|
* **Acceptable values**: `debug` | `info` | `warn` | `error`
|
||||||
|
* **Default value**: `info`
|
||||||
|
|
||||||
### XUI_LOG_LEVEL
|
### `XUI_DEBUG`
|
||||||
* Description: none
|
* **Description**: Whether debug mode should be enabled
|
||||||
* Type: `debug` | `info` | `warn` | `error` (**`string`**)
|
* **Type**: `boolean`
|
||||||
* Default value: `info`
|
* **Default value**: `false`
|
||||||
|
|
||||||
### XUI_LOG_LEVEL
|
### `XUI_BIN_FOLDER`
|
||||||
* Description: none
|
* **Description**: Path to the folder with xray-core, geosite & geoip databases
|
||||||
* Type: `debug` | `info` | `warn` | `error` (**`string`**)
|
* **Type**: `string`
|
||||||
* Default value: `info`
|
* **Default value**: `bin`
|
||||||
|
|
||||||
### XUI_LOG_LEVEL
|
### `XUI_DB_FOLDER`
|
||||||
* Description: none
|
* **Description**: Path to the 3x-ui database
|
||||||
* Type: `debug` | `info` | `warn` | `error` (**`string`**)
|
* **Type**: `string`
|
||||||
* Default value: `info`
|
* **Default value**: `/etc/x-ui`
|
||||||
|
|
||||||
|
### `XUI_LOG_FOLDER`
|
||||||
|
* **Description**: Path to the logs
|
||||||
|
* **Type**: `string`
|
||||||
|
* **Default value**: `/var/log`
|
||||||
|
|
||||||
|
### `XUI_ENABLE_FAIL2BAN`
|
||||||
|
* **Description**: Should [fail2ban](https://github.com/fail2ban/fail2ban) be working
|
||||||
|
* **Type**: `boolean`
|
||||||
|
* **Default value**: `true`
|
||||||
Reference in New Issue
Block a user