Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Inventory of ocs with a reverse proxy


Good morning, I am new to the ocs inventory and would like to ask you a question.

It turns out that I'm trying to get my agent for Linux to connect to my server, the problem is that I have an apache in front of my ocsinventory server that works with reverse proxy with https and a certificate that redirects to the ip address of my server, but placing the proxy URL during the installation of the agent, at the time you ask what is the URL of my server, in the end an error occurs, this does not happen when I use the IP address of the server directly instead of the URL of the reverse proxy . Is it possible to do it this way or am I wrong?

in OCS Inventory NG agent for Unix by (120 points)
edited by

1 Answer

0 votes
Did you change anything on the ocs side to allow the reverse proxy to work ?

#Proxy to OCS Inventory

    <Location /ocsng/>

        #ProxyPreserveHost on
        ProxyPass http://10.0.0.82/ocsreports/
        ProxyPassReverse http://10.0.0.82/ocsreports/
        SSLVerifyClient none
        SSLRenegBufferSize 20982000
        LimitRequestBody 104857600

    </Location>
by (160 points)
 
Powered by Question2Answer
...