On-Prem: Operate Haiilo with a HTTP(S) proxy

These settings can only be changed in our On-Premises editions, as the Docker configuration needs to be changed.

It's important that correct information is provided for [parameter].

We are unable to provide services for network solutions from third-party providers. This article should help point you in the right direction.

At the moment, it’s not possible to use a HTTP/S proxy in conjunction with authentication via Haiilo. You need to permit the Haiilo host to use the proxy without authentication.

To customize the apt proxy configuration to your Ubuntu server, you need to make the following changes: /etc/apt/apt.conf

Acquire::http::proxy "http://[proxyhost]:[proxyport]/";
Acquire::https::proxy "http://[proxyhost]:[proxyport]/";
You also need to configure the proxy server in your host environment for the Ubuntu server:
The Docker container does not adopt the host proxy configuration, so customizations may need to be made here.
It’s easier if you add proxy configurations for the PUSH and BACKEND JVM (Java Virtual Machine) in your .env file.
# COYO Java opts used for backend
COYO_JAVA_OPTS=-Xmx2g -server -Dhttp.proxyHost=[proxyhost] -Dhttp.proxyPort=[proxyport] -Dhttp.proxySet=true -Dhttp.nonProxyHosts="localhost||coyo-*|[COYO_BACKEND_URL]" -Dhttps.proxyHost=[proxyhost] -Dhttps.proxyPort=[proxyport] -Dhttps.proxySet=true -Dhttps.nonProxyHosts="localhost||coyo-*|[COYO_BACKEND_URL]"

# Java opts used for COYO push service
COYO_PUSH_JAVA_OPTS=-Xmx1g -server -Dhttp.proxyHost=[proxyhost] -Dhttp.proxyPort=[proxyport] -Dhttp.proxySet=true -Dhttp.nonProxyHosts="localhost||coyo-*|[COYO_BACKEND_URL]" -Dhttps.proxyHost=[proxyhost] -Dhttps.proxyPort=[proxyport] -Dhttps.proxySet=true -Dhttps.nonProxyHosts="localhost||coyo-*|[COYO_BACKEND_URL]"
If you’d like further information on the topic, we recommend the documentation from Oracle

Was this article helpful?