web: cache versioned static files

Co-authored-by: Werner Fleischer <70745309+wernf@users.noreply.github.com>
This commit is contained in:
wfleischer 2022-01-19 11:26:05 +01:00 committed by GitHub
parent 48d499a7de
commit a862e849e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,11 @@ location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.
{
add_header 'Access-Control-Allow-Origin' '*';
alias /usr/share/jitsi-meet/$1/$2;
# cache all versioned files
if ($arg_v) {
expires 1y;
}
}
{{ if $ENABLE_COLIBRI_WEBSOCKET }}