From f20092e6ae3e354ecc16869d68c79a4a40646820 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 23 Oct 2018 14:58:17 +0200 Subject: [PATCH] library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the uri-resolver configuration. --- .../templates/generic-smartgears-virtualhost.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 index 191777bd..1b5bf871 100644 --- a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 +++ b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 @@ -150,6 +150,7 @@ server { allow {{ ip }}; {% endfor %} deny all; + proxy_pass http://127.0.0.1:{{ smartgears_http_port }}/uri-resolver/geonetwork; } location / { @@ -319,6 +320,7 @@ server { allow {{ ip }}; {% endfor %} deny all; + proxy_pass http://127.0.0.1:{{ smartgears_http_port }}/uri-resolver/geonetwork; } location / {