From fd40df7fc197cff4f2eeafe4f963924bcc1b08a9 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 8 Mar 2024 12:29:21 +0100 Subject: [PATCH] added missing Bearer keyword --- pepexample/default.conf | 4 ++-- pepexample/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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