Global config file.

This commit is contained in:
Andrea Dell'Amico 2022-05-01 18:23:47 +02:00
parent ba002ef312
commit 047e338df1
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
3 changed files with 4 additions and 10 deletions

View File

@ -2,11 +2,6 @@
js_var $auth_token;
js_var $account_record;
underscores_in_headers on;
map $http_authorization $source_auth {
default "";
}
js_import /etc/nginx/snippets/pep.js;
# added to bind enforce function
js_set $authorization pep.enforce;

View File

@ -2,11 +2,6 @@
js_var $auth_token;
js_var $account_record;
underscores_in_headers on;
map $http_authorization $source_auth {
default "";
}
js_import /etc/nginx/snippets/pep_gcube.js;
# added to bind enforce function
js_set $authorization pep.enforce;

View File

@ -0,0 +1,4 @@
underscores_in_headers on;
map $http_authorization $source_auth {
default "";
}