The REST calls in JobRouter can be additionally secured by running all outgoing connections through a proxy.
The following environment variables are used to configure the proxy server:
CGI_HTTP_PROXY / HTTPS_PROXY
With these environment variables you can configure which proxy server should be used.
Please note: For security reasons the variable CGI_HTTP_PROXY is used here instead of HTTP_PROXY.
NO_PROXY
With the NO_PROXY environment variable you can define which domains are excluded when using the proxy.
Example
In a .htaccess file the environment variables can be defined as follows:
SetEnv CGI_HTTP_PROXY myjobrouterproxy.com:3128
SetEnv HTTPS_PROXY myjobrouterproxy.com:3128
SetEnv NO_PROXY "host.example.com, example.com"