From 8d8b7990559e0887d3e1ee4dfc9b1abb821baec3 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 4 Nov 2021 17:59:43 +0100 Subject: [PATCH] Simplify the rewrite URL. --- templates/nginx.default.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nginx.default.conf.j2 b/templates/nginx.default.conf.j2 index 7ea4f5f..1ab36e5 100644 --- a/templates/nginx.default.conf.j2 +++ b/templates/nginx.default.conf.j2 @@ -61,7 +61,7 @@ server { proxy_set_header Authorization "Bearer $auth_token"; proxy_set_header remote_user "$remote_user"; proxy_pass http://_inception-server; - rewrite ^/_d4sauth(.+)$ / last; + rewrite ^/_d4sauth / last; } location /gcube_user_info {