uvuyo can be configured to use a proxy server for outgoing http/https connections. The configuration is done in the properties file of an uvuyo node. Configuring a proxy does not mean that all outgoing connections will use the proxy. You can configure for each outgoing connection in the UI of the endpoint, if it should use the proxy server settings for the node.
For more information on how to configure the uvuyo node using properties check the article about configuring the uvuyo node with properties.
Since the property configuration allows you to set individual properties for individual nodes, you are able to setup an uvuyo cluster where individual nodes use different proxies.
To setup a node to use a proxy you have to configure the following properties:
Parameter | default | Description |
---|---|---|
uvuyo.webclient.proxy.host | localhost | The proxy host to connect to |
uvuyo.webclient.proxy.port | 3128 | The port to connect to on the proxy host |
uvuyo.webclient.proxy.username | n/a | The username used to connect to the proxy server. If the username is not set, no credetials are used to connect to the proxy |
uvuyo.webclient.proxy.password | n/a | The encrypted password used to connecto to the proxy. If no password is set, no creditials are used to connect to the proxy |
The password set in the properties must be encrypted. You can encrypt the password using the rest API. The Url for setting the password is https://<uvuyoHost>>/api/v1.0/encrypt?password=<password>. You need to connect to uvuyo a get a api token in order to encrypt a password. There is no interface to decrypt the password.
Example
curl --request GET \<br> --url 'https://localhost:8443/uvuyo/api/v1.0/encrypt?password=TEST' \<br> --header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOiJhZG1pbiIsInJvbGVzIjpbIlJPTEVfQURNSU4iXSwidXNlcm5hbWUiOiJBZG1pbmlzdHJhfhkshdfjsdadG9yIiwic3ViIjoiYWRtaW4iLCJpYXQiOjE3NDMwMDU2NTUsImV4cCI6AxMjg1NX0.pbz54E1Ljv7KXvFbDP6cIpx8GaTARobeKzO6JWP1E_iI3YMwRJ7_QwZ_9xrDflHG7Nlv7fCuiLRw_IRtc7u6HA' \<br> --header 'Content-Type: application/json'