To enable using proxy for making calls from Regula web service to Regula licensing service, please take the following steps:
- Open .env file, located at /opt/regula/document-reader-webapi via a file manager or by using a CLI command:
sudo nano /opt/regula/document-reader-webapi/.env
-
Add the following lines to the end of the file (after the last line):
HTTP_PROXY="http://yourproxyaddress:port" HTTPS_PROXY="http://yourproxyaddress:port" NO_PROXY="localhost,127.0.0.1,::1" http_proxy="http://yourproxyaddress:port" https_proxy="http://yourproxyaddress:port" no_proxy="localhost,127.0.0.1,::1" - Modify the proxy server address, as well as a localhost's IPV4 and IPV6 if needed, as per your environment.
- Restart the service by executing the following command:
sudo systemctl restart regula-document-reader-webapi.service
After that, Regula web-service should be reaching Regula licensing service via your proxy server.
Comments
Please sign in to leave a comment.