OCSInventory-NG / OCSInventory-Docker-Image

Docker image for OCSInventory Server
GNU General Public License v3.0
78 stars 93 forks source link

misconfigured nginx for /download location #93

Closed nikinname closed 1 year ago

nikinname commented 1 year ago

I'm using 2.9.2 version in docker-compose and SSL I was not able to get /download working in nginx

I have found that the file OCSInventory-Docker-Image/2.9.2/nginx/conf/ocsinventory.conf.template

is missing the directive proxy_pass for the location /download

I suggest to add the following line

proxy_pass http://ocsapplication/download;

at the end of location /download section

I do not know if the same is needed in /ocsapi section

gillesdubois commented 1 year ago

Hi,

The issue has been fixed with the newly release 2.11 image.

Regards, Gilles.