2022-07-08 10:10:39 +00:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
"type": "http",
|
|
|
|
"tag": "http-in",
|
|
|
|
|
|
|
|
... // Listen Fields
|
|
|
|
|
|
|
|
"users": [
|
2022-07-08 10:10:39 +00:00
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
"username": "admin",
|
|
|
|
"password": "admin"
|
2022-07-08 10:10:39 +00:00
|
|
|
}
|
2022-08-31 04:50:26 +00:00
|
|
|
],
|
|
|
|
"tls": {},
|
|
|
|
"set_system_proxy": false
|
2022-07-08 10:10:39 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
### Listen Fields
|
|
|
|
|
|
|
|
See [Listen Fields](/configuration/shared/listen) for details.
|
|
|
|
|
|
|
|
### Fields
|
2022-08-23 15:15:56 +00:00
|
|
|
|
|
|
|
#### tls
|
|
|
|
|
2022-08-24 10:43:39 +00:00
|
|
|
TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
|
2022-08-23 15:15:56 +00:00
|
|
|
|
|
|
|
#### users
|
|
|
|
|
|
|
|
HTTP users.
|
|
|
|
|
|
|
|
No authentication required if empty.
|
|
|
|
|
|
|
|
#### set_system_proxy
|
|
|
|
|
2023-11-09 09:04:08 +00:00
|
|
|
!!! quote ""
|
2022-08-23 15:15:56 +00:00
|
|
|
|
|
|
|
Only supported on Linux, Android, Windows, and macOS.
|
|
|
|
|
2023-03-23 13:23:20 +00:00
|
|
|
!!! warning ""
|
|
|
|
|
|
|
|
To work on Android and iOS without privileges, use tun.platform.http_proxy instead.
|
|
|
|
|
2022-08-23 15:15:56 +00:00
|
|
|
Automatically set system proxy configuration when start and clean up when stop.
|