diff --git a/packages/rancher-grafana/generated-changes/overlay/templates/nginx-config.yaml b/packages/rancher-grafana/generated-changes/overlay/templates/nginx-config.yaml index f847c51ce..78da96fff 100644 --- a/packages/rancher-grafana/generated-changes/overlay/templates/nginx-config.yaml +++ b/packages/rancher-grafana/generated-changes/overlay/templates/nginx-config.yaml @@ -70,6 +70,9 @@ data: if ($request_filename ~ .*\.(?:js|css|jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm)$) { expires 90d; } + + rewrite ^/k8s/clusters/.*/proxy(.*) /$1 break; + } } } diff --git a/packages/rancher-monitoring/generated-changes/overlay/templates/prometheus/nginx-config.yaml b/packages/rancher-monitoring/generated-changes/overlay/templates/prometheus/nginx-config.yaml index 3f346ca4c..7f5ef368a 100644 --- a/packages/rancher-monitoring/generated-changes/overlay/templates/prometheus/nginx-config.yaml +++ b/packages/rancher-monitoring/generated-changes/overlay/templates/prometheus/nginx-config.yaml @@ -61,6 +61,9 @@ data: if ($request_filename ~ .*\.(?:js|css|jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm)$) { expires 90d; } + + rewrite ^/k8s/clusters/.*/proxy(.*) /$1 break; + } } }