From 0f07d78e01cdce9fb47f241376fba8e71c19f895 Mon Sep 17 00:00:00 2001 From: Vedant Prajapati <40185967+vedantprajapati@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:53:51 -0500 Subject: [PATCH] fix(docker): Configure nginx for consistent port mapping and hot reloading (#32362) --- docker/nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index eda47ef580d..e60a07fbdf8 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -112,6 +112,12 @@ http { proxy_set_header Host $host; } + location /static { + proxy_pass http://host.docker.internal:9000; # Proxy to superset-node + proxy_http_version 1.1; + proxy_set_header Host $host; + } + location / { proxy_pass http://superset_app; proxy_set_header Host $host;