Global config file.
This commit is contained in:
parent
ba002ef312
commit
047e338df1
|
@ -2,11 +2,6 @@
|
||||||
js_var $auth_token;
|
js_var $auth_token;
|
||||||
js_var $account_record;
|
js_var $account_record;
|
||||||
|
|
||||||
underscores_in_headers on;
|
|
||||||
map $http_authorization $source_auth {
|
|
||||||
default "";
|
|
||||||
}
|
|
||||||
|
|
||||||
js_import /etc/nginx/snippets/pep.js;
|
js_import /etc/nginx/snippets/pep.js;
|
||||||
# added to bind enforce function
|
# added to bind enforce function
|
||||||
js_set $authorization pep.enforce;
|
js_set $authorization pep.enforce;
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
js_var $auth_token;
|
js_var $auth_token;
|
||||||
js_var $account_record;
|
js_var $account_record;
|
||||||
|
|
||||||
underscores_in_headers on;
|
|
||||||
map $http_authorization $source_auth {
|
|
||||||
default "";
|
|
||||||
}
|
|
||||||
|
|
||||||
js_import /etc/nginx/snippets/pep_gcube.js;
|
js_import /etc/nginx/snippets/pep_gcube.js;
|
||||||
# added to bind enforce function
|
# added to bind enforce function
|
||||||
js_set $authorization pep.enforce;
|
js_set $authorization pep.enforce;
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
underscores_in_headers on;
|
||||||
|
map $http_authorization $source_auth {
|
||||||
|
default "";
|
||||||
|
}
|
Loading…
Reference in New Issue