ClientPlug-inConfiguration
Detailed Configuration description of the frp ClientPlug-in.
HTTPProxyPluginOptions
| Field |
Type |
Description |
Required |
| httpUser |
string |
HTTP Agent User name. |
No |
| httpPassword |
string |
HTTP Agent Password. |
No |
Socks5PluginOptions
| Field |
Type |
Description |
Required |
| username |
string |
User name |
No |
| password |
string |
Password |
No |
StaticFilePluginOptions
| Field |
Type |
Description |
Required |
| localPath |
string |
The local path where the static file is located. |
Yes |
| stripPrefix |
string |
Remove the specific prefix of the user HTTP request Path.
|
No |
| httpUser |
string |
HTTP Basic Auth User name. |
No |
| httpPassword |
string |
HTTP Basic Auth Password. |
No |
UnixDomainSocketPluginOptions
| Field |
Type |
Description |
Required |
| unixPath |
string |
UNIX The address of the domain socket. |
Yes |
HTTP2HTTPSPluginOptions
| Field |
Type |
Description |
Required |
| localAddr |
string |
Local HTTPS service address。 |
Yes |
| hostHeaderRewrite |
string |
Replace Host header。 |
No |
| requestHeaders |
HeaderOperations
|
The operation Configuration for the request Header.
|
No |
HTTPS2HTTPPluginOptions
| Field |
Type |
Description |
Required |
| localAddr |
string |
Local HTTPS service address。 |
Yes |
| hostHeaderRewrite |
string |
Replace Host header。 |
No |
| requestHeaders |
HeaderOperations
|
The operation Configuration for the request Header.
|
No |
| crtPath |
string |
TLS Certificate file path. |
No |
| keyPath |
string |
TLS Key file path. |
No |
HTTPS2HTTPSPluginOptions
| Field |
Type |
Description |
Required |
| localAddr |
string |
Local HTTPS service address。 |
Yes |
| hostHeaderRewrite |
string |
Replace Host header. |
No |
| requestHeaders |
HeaderOperations
|
The operation Configuration for the request Header.
|
No |
| crtPath |
string |
The path to the TLS certificate file. |
No |
| keyPath |
string |
TLS key file path. |
No |
Last modified November 15, 2023:
fix 404 (#71) (626ce4d)