Move the rewrite rule.

This commit is contained in:
Andrea Dell'Amico 2021-11-04 17:56:58 +01:00
parent 84dcebe59c
commit 5eea0ca863
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 3 deletions

View File

@ -46,9 +46,6 @@ server {
location /_d4sauth {
js_content pep.enforce;
if (!-e $request_filename){
rewrite ^(.+)$ / last;
}
}
location @backend {
@ -64,6 +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;
}
location /gcube_user_info {