Using proxy with Regula web service on Linux

To enable using proxy for making calls from Regula web service to Regula licensing service, please take the following steps:

  1. 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
     
  2. 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"
  3. Modify the proxy server address, as well as a localhost's IPV4 and IPV6 if needed, as per your environment. 
     
  4. 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. 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more