-
-
Save ramonlsouza/e45ecb5a5ab1bc3bc0a4f18e5cd93113 to your computer and use it in GitHub Desktop.
nginx config. file for bbb-html5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace /etc/bigbluebutton/nginx/bbb-html.nginx with the contents of this file | |
rewrite ^/html5client/[0-9]+/(fonts|locales|compatibility|resources|svgs)/(.*) /html5client/$1/$2; | |
location /html5client/locales { | |
alias /usr/share/meteor/bundle/programs/web.browser/app/locales; | |
} | |
location /html5client/compatibility { | |
alias /usr/share/meteor/bundle/programs/web.browser/app/compatibility; | |
} | |
location /html5client/resources { | |
alias /usr/share/meteor/bundle/programs/web.browser/app/resources; | |
} | |
location /html5client/svgs { | |
alias /usr/share/meteor/bundle/programs/web.browser/app/svgs; | |
} | |
location /html5client/fonts { | |
alias /usr/share/meteor/bundle/programs/web.browser/app/fonts; | |
} | |
location ~ ^/html5client/(?<instanceId>[0-9]+)/ { | |
proxy_pass http://127.0.0.1:$meteor_port; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "Upgrade"; | |
} | |
location /_timesync { | |
proxy_pass http://127.0.0.1:4000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment