diff --git a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl index 72ee7c9b5d..a8c62ec348 100644 --- a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl +++ b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl @@ -668,6 +668,7 @@ stream { {{ end }} proxy_pass_request_headers on; proxy_set_header Host {{ $location.ExternalAuth.Host }}; + proxy_set_header X-Original-URL $scheme://$http_host$request_uri; proxy_ssl_server_name on; client_max_body_size "{{ $location.Proxy.BodySize }}";