2020-12-22 00:41:01 +01:00
|
|
|
location @html5client {
|
2021-02-24 21:50:27 +01:00
|
|
|
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";
|
|
|
|
}
|
|
|
|
|
2021-03-27 18:48:05 +01:00
|
|
|
location /html5client/locales {
|
|
|
|
alias /html5-static/app/locales;
|
|
|
|
}
|
2021-02-24 21:50:27 +01:00
|
|
|
|
|
|
|
location /html5client/compatibility {
|
|
|
|
alias /html5-static/app/compatibility;
|
2020-12-22 00:41:01 +01:00
|
|
|
}
|
2021-02-24 21:50:27 +01:00
|
|
|
|
|
|
|
location /html5client/resources {
|
2020-12-22 00:41:01 +01:00
|
|
|
alias /html5-static/app/resources;
|
|
|
|
}
|
2021-02-24 21:50:27 +01:00
|
|
|
|
|
|
|
location /html5client/svgs {
|
2020-12-22 00:41:01 +01:00
|
|
|
alias /html5-static/app/svgs;
|
|
|
|
}
|
|
|
|
|
2021-02-24 21:50:27 +01:00
|
|
|
location /html5client/fonts {
|
|
|
|
alias /html5-static/app/fonts;
|
2020-12-23 23:58:24 +01:00
|
|
|
}
|
|
|
|
|
2021-11-27 17:38:40 +01:00
|
|
|
location /html5client/wasm {
|
|
|
|
types {
|
|
|
|
application/wasm wasm;
|
|
|
|
}
|
|
|
|
gzip_static on;
|
|
|
|
alias /html5-static/app/wasm;
|
|
|
|
}
|
|
|
|
|
2020-12-23 23:58:24 +01:00
|
|
|
location /html5client/ {
|
2020-12-22 00:41:01 +01:00
|
|
|
alias /html5-static;
|
|
|
|
try_files $uri @html5client;
|
|
|
|
}
|
|
|
|
|