diff --git a/angular.json b/angular.json
index 1388d5261931d45167cb847070b77f780450bb95..20abea0c557f1c3d305f960ec8ef080bb1d2f53a 100644
--- a/angular.json
+++ b/angular.json
@@ -61,7 +61,7 @@
               "namedChunks": false,
               "extractLicenses": true,
               "vendorChunk": false,
-              "buildOptimizer": true,
+              "buildOptimizer": false,
               "budgets": [
                 {
                   "type": "initial",
diff --git a/nginx/dev.conf b/nginx/dev.conf
index 0ec8e46c464e62745120cb4c04c99df55e37c97c..7532671811e83bb55407f8e5442d798727746247 100644
--- a/nginx/dev.conf
+++ b/nginx/dev.conf
@@ -1,23 +1,37 @@
+
 server {
   listen 8080 default_server;
 
-  root /usr/share/nginx/html/;
+  root /usr/share/nginx/html;
 
   location / {
     # First attempt to serve request as file, then
     # as directory, then fall back to displaying a 404.
     try_files $uri $uri/ /index.html;
-    sub_filter '<html lang="en">' '<html lang="fr">';
   }
 
-      # Rule serving the en build
-    location /en {
-        try_files $uri$args /en/index.html;
-    }
+  location /api {
+    rewrite ^/api/(.*) /$1 break;
+    proxy_pass http://json-server:3000/api;
+  }
+  
+  # Public api redirect
+  location /base-adresse/base-adresse-nationale/streets {
+    proxy_pass https://passerelle.formulaireextranet.grandlyon.com/base-adresse/base-adresse-nationale/streets;
+  }
+
+  location /geocoding/photon/api {
+    proxy_pass https://download.data.grandlyon.com/geocoding/photon/api;
+  }
 
-    # redirecting the /fr url to the new location of the fr build
-    location ~ ^/fr(.*)$ {
-        return 301 $scheme://$http_host$1$is_args$args;
-    }
+   location /reverse {
+    proxy_pass https://api-adresse.data.gouv.fr/reverse;
+  }
+
+
+  # REALLY important for JavaScript modules (type="module") to work as expected!!!
+  location ~ \.js {
+    add_header  Content-Type   text/javascript;
+  }
 
 }