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"; } } ``` 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 ( - + );