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-02-24 21:50:27 +01:00
|
|
|
rewrite ^/html5client/(fonts|compatibility|resources|svgs)/(.*) /html5client/$1/$2;
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
location /html5client/ {
|
2020-12-22 00:41:01 +01:00
|
|
|
alias /html5-static;
|
|
|
|
try_files $uri @html5client;
|
|
|
|
}
|
|
|
|
|