nginx: reenable authorization for notes

This commit is contained in:
chandi 2020-10-21 19:26:25 +02:00
parent 286a89a9cc
commit 95daedfc0e

View File

@ -11,14 +11,8 @@ location /pad/p/ {
proxy_set_header X-Forwarded-Proto https; # for EP to set secure cookie flag when https is used
proxy_http_version 1.1;
# there is currently no viable source for building the
# bbb-etherpad including sesstiontokens which got introduced in v2.2.21
# https://github.com/bigbluebutton/bigbluebutton/issues/10159
#
# We disable the authentication for now.
# auth_request /bigbluebutton/connection/checkAuthorization;
# auth_request_set $auth_status $upstream_status;
auth_request /bigbluebutton/connection/checkAuthorization;
auth_request_set $auth_status $upstream_status;
}
location /pad {
@ -53,8 +47,8 @@ location /pad/socket.io {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
# auth_request /bigbluebutton/connection/checkAuthorization;
# auth_request_set $auth_status $upstream_status;
auth_request /bigbluebutton/connection/checkAuthorization;
auth_request_set $auth_status $upstream_status;
}
location /static {