diff --git a/portainer/rootfs/etc/nginx/templates/ingress.gtpl b/portainer/rootfs/etc/nginx/templates/ingress.gtpl index 0946ffa2f..b523aa075 100644 --- a/portainer/rootfs/etc/nginx/templates/ingress.gtpl +++ b/portainer/rootfs/etc/nginx/templates/ingress.gtpl @@ -12,7 +12,7 @@ server { proxy_connect_timeout 30m; proxy_send_timeout 30m; proxy_read_timeout 30m; - proxy_set_header Origin "$http_origin"; + proxy_set_header Origin $http_origin; # Ensure the backend knows the correct host proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Host $http_host;