From 0adf80cc07ee6fe858a301b437c918873f1da206 Mon Sep 17 00:00:00 2001
From: Etienne Loupias <eloupias@grandlyon.com>
Date: Mon, 16 Dec 2024 11:09:56 +0100
Subject: [PATCH] wip nginx conf

---
 nginx/default.conf | 4 ++++
 nginx/local.conf   | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/nginx/default.conf b/nginx/default.conf
index 3cc40f5d5..9a251d656 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 9ebd91379..01f1e4683 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){
-- 
GitLab