|
@@ -45,8 +45,10 @@ server {
|
45
|
45
|
error_page 404 /static/404.html;
|
46
|
46
|
|
47
|
47
|
gzip on;
|
48
|
|
- gzip_types text/plain text/css application/javascript application/json;
|
|
48
|
+ gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
|
49
|
49
|
gzip_vary on;
|
|
50
|
+ gzip_proxied no-cache no-store private expired auth;
|
|
51
|
+ gzip_min_length 512;
|
50
|
52
|
|
51
|
53
|
location = /config.js {
|
52
|
54
|
alias /etc/jitsi/meet/jitsi-meet.example.com-config.js;
|
|
@@ -61,6 +63,11 @@ server {
|
61
|
63
|
{
|
62
|
64
|
add_header 'Access-Control-Allow-Origin' '*';
|
63
|
65
|
alias /usr/share/jitsi-meet/$1/$2;
|
|
66
|
+
|
|
67
|
+ # cache all versioned files
|
|
68
|
+ if ($arg_v) {
|
|
69
|
+ expires 1y;
|
|
70
|
+ }
|
64
|
71
|
}
|
65
|
72
|
|
66
|
73
|
# BOSH
|