summaryrefslogtreecommitdiffstats
path: root/.examples
diff options
context:
space:
mode:
authorGuy Elsmore-Paddock <guy@inveniem.com>2019-03-04 19:37:37 -0500
committerGuy Elsmore-Paddock <guy@inveniem.com>2019-03-04 19:37:37 -0500
commit0b9f09e3e1fd15a64770fb636a1edea2ff12d267 (patch)
tree15bf56c6c0f5f600c2d5f2a5a362f04f8882caed /.examples
parentc0fd3fcd6d2de6b454b319f2191b8f9d5beff483 (diff)
Issue #674 - 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 #674. Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
Diffstat (limited to '.examples')
-rw-r--r--.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf2
-rw-r--r--.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf2
-rw-r--r--.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf2
3 files changed, 3 insertions, 3 deletions
diff --git a/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf b/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf
index 49a19c35..858674ad 100644
--- a/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf
+++ b/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/web/nginx.conf
@@ -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
diff --git a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
index 49a19c35..858674ad 100644
--- a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
+++ b/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
@@ -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
diff --git a/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf b/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf
index 49a19c35..858674ad 100644
--- a/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf
+++ b/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf
@@ -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