mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-02-09 14:00
This commit is contained in:
@@ -2,5 +2,11 @@ include /etc/onlyoffice/documentserver/nginx/includes/http-common.conf;
|
||||
server {
|
||||
listen 0.0.0.0:80;
|
||||
server_name {{ oo_ds_vhost }};
|
||||
# Override the fonts endpoint to add a Content-Type so reverse proxies can handle caching corectly
|
||||
location ~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/fonts(\/.*)$ {
|
||||
add_header Content-Type font/opentype;
|
||||
expires 365d;
|
||||
alias /var/www/onlyoffice/documentserver/fonts$2;
|
||||
}
|
||||
include /etc/onlyoffice/documentserver/nginx/includes/ds-docservice.conf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user