diff --git a/nginx/default.conf b/nginx/default.conf index 3cc40f5d51b4b832ff3d420489872c09c12131cb..9a251d6562c73b3fc4021ff2694a86c3bf6926a8 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -33,6 +33,10 @@ server { #allow 80.14.51.82; # Erasme #deny all; + location ^~ /actualites/details/ { + proxy_pass http://res-client-service:8080/api/render/; + } + location /data-grandlyon-cities { proxy_pass https://data.grandlyon.com/fr/datapusher/ws/grandlyon/adr_voie_lieu.adrcomgl/all.json; } diff --git a/nginx/local.conf b/nginx/local.conf index 9ebd913798568e0f2dde87f5addea1370daf49cd..01f1e4683d0fc484119ce924aa6c6ebaf9ab1e56 100644 --- a/nginx/local.conf +++ b/nginx/local.conf @@ -19,6 +19,14 @@ server { root /usr/share/nginx/html/; + location ^~ /actualites/details/ { + proxy_pass http://web-app:8080/api/render/; + } + + location /data-grandlyon-cities { + proxy_pass https://data.grandlyon.com/fr/datapusher/ws/grandlyon/adr_voie_lieu.adrcomgl/all.json; + } + location / { # Redirect outdated nav if ($outdated = 1){