From c44eb4d253319e651843bb363d3c7ae9b4af3335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a?= Date: Mon, 14 Nov 2022 13:10:27 +0000 Subject: [PATCH 1/2] update latest link to 2.11 --- latest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latest b/latest index 391e985..4b7ed46 120000 --- a/latest +++ b/latest @@ -1 +1 @@ -2.9.2 \ No newline at end of file +2.11/ \ No newline at end of file From 2bf5ece0b124fea30a54954c8b485cb0cf8a3081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a?= Date: Mon, 14 Nov 2022 13:11:53 +0000 Subject: [PATCH 2/2] add proxy_pass to nginx conf --- 2.11/nginx/conf/ocsinventory.conf.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2.11/nginx/conf/ocsinventory.conf.template b/2.11/nginx/conf/ocsinventory.conf.template index c1b9ee1..528309b 100644 --- a/2.11/nginx/conf/ocsinventory.conf.template +++ b/2.11/nginx/conf/ocsinventory.conf.template @@ -37,6 +37,7 @@ server { location /ocsapi { auth_basic "OCS Api area"; auth_basic_user_file /etc/nginx/auth/${API_AUTH_FILE}; + proxy_pass http://ocsapplication/ocsapi; } location /download { @@ -44,5 +45,6 @@ server { proxy_connect_timeout ${CONNECT_TIMEOUT}; proxy_send_timeout ${SEND_TIMEOUT}; client_max_body_size ${MAX_BODY_SIZE}; + proxy_pass http://ocsapplication/download; } -} \ No newline at end of file +}