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 {
|
2023-03-21 12:59:59 +01:00
|
|
|
alias /html5-static/app/locales;
|
2021-03-27 18:48:05 +01:00
|
|
|
}
|
2021-02-24 21:50:27 +01:00
|
|
|
|
|
|
|
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
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|