docker/mod/nginx/bbb/bbb-html5.nginx

49 lines
920 B
Plaintext
Raw Normal View History

2020-12-22 00:41:01 +01:00
location @html5client {
proxy_pass http://poolhtml5servers; # use for production
2020-04-09 08:48:47 +02:00
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location /html5client/locales {
2023-03-21 12:59:59 +01:00
alias /html5-static/app/locales;
}
location /html5client/compatibility {
2023-03-21 12:59:59 +01:00
gzip_static on;
alias /html5-static/app/compatibility;
2020-12-22 00:41:01 +01:00
}
location /html5client/resources {
2020-12-22 00:41:01 +01:00
alias /html5-static/app/resources;
}
location /html5client/svgs {
2020-12-22 00:41:01 +01:00
alias /html5-static/app/svgs;
}
location /html5client/fonts {
alias /html5-static/app/fonts;
2020-12-23 23:58:24 +01:00
}
2023-03-21 12:59:59 +01:00
location /html5client/files {
alias /html5-static/app/files;
}
2021-11-27 17:38:40 +01:00
location /html5client/wasm {
types {
application/wasm wasm;
}
gzip_static on;
alias /html5-static/app/wasm;
}
2023-03-21 12:59:59 +01:00
location /html5client {
gzip_static on;
2020-12-22 00:41:01 +01:00
alias /html5-static;
try_files $uri @html5client;
}
2023-03-21 12:59:59 +01:00
location /html5client/sockjs {
try_files $uri @html5client;
}