15 lines
423 B
Django/Jinja
15 lines
423 B
Django/Jinja
# variables computed by njs and which may possibly be passed among locations
|
|
js_var $auth_token;
|
|
js_var $account_record;
|
|
|
|
proxy_cache_path /tmp levels=1:2 keys_zone=social_cache:10m max_size=10g inactive=60m use_temp_path=off;
|
|
|
|
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;
|