From 31bfefb5d1b9162e9d9d09c3a5b617ed9f16ddb9 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq <60451863+stijndcl@users.noreply.github.com> Date: Sun, 22 May 2022 21:26:14 +0200 Subject: [PATCH 1/2] Fix typo --- .../RegisterComponents/SocialButtons/SocialButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/RegisterComponents/SocialButtons/SocialButtons.tsx b/frontend/src/components/RegisterComponents/SocialButtons/SocialButtons.tsx index cb9e3e7ee..3a626bf3d 100644 --- a/frontend/src/components/RegisterComponents/SocialButtons/SocialButtons.tsx +++ b/frontend/src/components/RegisterComponents/SocialButtons/SocialButtons.tsx @@ -20,7 +20,7 @@ export default function SocialButtons(props: { edition: string; uuid: string }) return ( - + ); From 743f30fe6bf6924b16a3a1c5cf6b3a9cd50f54b9 Mon Sep 17 00:00:00 2001 From: Francis Date: Sun, 22 May 2022 21:34:01 +0200 Subject: [PATCH 2/2] update guide --- files/sysadmin_guide.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/files/sysadmin_guide.md b/files/sysadmin_guide.md index 41bbdfd1c..bf26f9d31 100644 --- a/files/sysadmin_guide.md +++ b/files/sysadmin_guide.md @@ -386,12 +386,13 @@ server { try_files $uri $uri/ =404; } - location = /api { - return 302 /api/; - } - location /api/ { + rewrite ^/api/(.*)$ /$1 break; proxy_pass http://backend/; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; } } ```