From 61c920555b61910f5d95759e617be07840da27c8 Mon Sep 17 00:00:00 2001 From: Timofey Boyko Date: Mon, 25 Sep 2023 17:04:55 +0300 Subject: [PATCH] Nginx: fix /api/scopes for OAuth --- config/nginx/onlyoffice.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/nginx/onlyoffice.conf b/config/nginx/onlyoffice.conf index c0bca431d0..2c063acc8c 100644 --- a/config/nginx/onlyoffice.conf +++ b/config/nginx/onlyoffice.conf @@ -272,6 +272,13 @@ server { proxy_set_header X-Tenant 1; } + location /api/scopes { + proxy_pass http://127.0.0.1:9090; + + proxy_set_header X-API-Version 1; + proxy_set_header X-Tenant 1; + } + location /sso { rewrite sso/(.*) /$1 break; proxy_pass http://127.0.0.1:9834;