build: adjust bbb-html5.nginx to make sure nginx serves static assets
Somewhere along the line since 2.3 the packaged bbb-html5.nginx regressed to a state where the upstream for /html5client was Meteor itself, which means nginx wasn't serving static assets as it was supposed to.
This commit is contained in:
parent
c1bccdd821
commit
e53dc4bb45
@ -1,3 +1,11 @@
|
||||
location @html5client {
|
||||
# proxy_pass http://127.0.0.1:4100; # use for development
|
||||
proxy_pass http://poolhtml5servers; # use for production
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
|
||||
location /html5client/locales {
|
||||
alias /usr/share/meteor/bundle/programs/web.browser/app/locales;
|
||||
}
|
||||
@ -26,10 +34,7 @@ location /html5client/wasm {
|
||||
alias /usr/share/meteor/bundle/programs/web.browser/app/wasm;
|
||||
}
|
||||
|
||||
location ~ ^/html5client/ {
|
||||
# proxy_pass http://127.0.0.1:4100; # use for development
|
||||
proxy_pass http://poolhtml5servers; # use for production
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
location /html5client {
|
||||
alias /usr/share/meteor/bundle/programs/web.browser;
|
||||
try_files $uri @html5client;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user