diff --git a/pepexample/default.conf b/pepexample/default.conf index 50360ab..c64aecc 100644 --- a/pepexample/default.conf +++ b/pepexample/default.conf @@ -83,8 +83,8 @@ server { internal; proxy_method POST; proxy_http_version 1.1; - proxy_set_header Authorization "$auth_token"; + proxy_set_header Authorization "Bearer $auth_token"; proxy_set_header Content-Type "application/json"; proxy_pass https://accounting-service.d4science.org/accounting-service/record; } -} \ No newline at end of file +} diff --git a/pepexample/nginx.conf b/pepexample/nginx.conf index bb68ece..84fce1a 100644 --- a/pepexample/nginx.conf +++ b/pepexample/nginx.conf @@ -43,4 +43,4 @@ http { #gzip on; include /etc/nginx/conf.d/*.conf; -} \ No newline at end of file +} \ No newline at end of file