diff --git a/tailscale/rootfs/etc/nginx/templates/ingress.gtpl b/tailscale/rootfs/etc/nginx/templates/ingress.gtpl index fb4f8e84..61361974 100644 --- a/tailscale/rootfs/etc/nginx/templates/ingress.gtpl +++ b/tailscale/rootfs/etc/nginx/templates/ingress.gtpl @@ -11,6 +11,7 @@ server { proxy_pass http://backend; sub_filter_once off; - sub_filter 'document.location.href = url' 'window.open(url, "_blank").focus()'; + sub_filter 'document.location.href = url' 'var result = window.open(url, "_blank"); if (result!== null) {result.focus()} else {document.write(\'