439f0486f7
It is necessary to fetch props bbb_custom_style and bbb_custom_style_url.
40 lines
1.3 KiB
Nginx Configuration File
40 lines
1.3 KiB
Nginx Configuration File
# Websocket connection
|
|
location /graphql {
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
#proxy_pass http://127.0.0.1:8085; #Hasura (it requires to change the location to /v1/graphql)
|
|
proxy_pass http://127.0.0.1:8378; #Graphql Middleware
|
|
}
|
|
|
|
#Set cache system for client settings
|
|
location /api/rest/clientSettings {
|
|
auth_request /bigbluebutton/connection/checkGraphqlAuthorization;
|
|
auth_request_set $meeting_id $sent_http_meeting_id;
|
|
|
|
proxy_cache client_settings_cache;
|
|
proxy_cache_key "$uri|$meeting_id";
|
|
proxy_cache_use_stale updating;
|
|
proxy_cache_valid 24h;
|
|
proxy_cache_lock on;
|
|
add_header X-Cached $upstream_cache_status;
|
|
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://127.0.0.1:8085; #Hasura
|
|
}
|
|
|
|
location /api/rest/userMetadata {
|
|
auth_request /bigbluebutton/connection/checkGraphqlAuthorization;
|
|
auth_request_set $meeting_id $sent_http_meeting_id;
|
|
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://127.0.0.1:8085; #Hasura
|
|
}
|