0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-19 10:26:10 +02:00

Issue - Fix Remaining .woff2 Issues in NGinx Config Examples

This ensures that the remaining NGinx config examples are updated to handle WOFF 2 font files.

Closes .

Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
Signed-off-by: pierre <pierre@pierre.p.nikolov.fr>
This commit is contained in:
Guy Elsmore-Paddock 2019-03-04 19:37:37 -05:00 committed by pierre
parent c0fd3fcd6d
commit bcd2e52e11
3 changed files with 3 additions and 3 deletions
.examples/docker-compose/insecure
mariadb-cron-redis/fpm/web
mariadb/fpm/web
postgres/fpm/web

View file

@ -120,7 +120,7 @@ http {
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
location ~ \.(?:css|js|woff2?|svg|gif)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to

View file

@ -120,7 +120,7 @@ http {
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
location ~ \.(?:css|js|woff2?|svg|gif)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to

View file

@ -120,7 +120,7 @@ http {
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
location ~ \.(?:css|js|woff2?|svg|gif)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to