From 3b0c4c41df6b490bec9a3721baaa0267487c6dd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Colombaro?= <git@colombaro.fr>
Date: Sat, 9 Mar 2019 13:45:33 +0100
Subject: [PATCH] Fix regexp expressions in mime-types maps

---
 h5bp/web_performance/cache_expiration.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/h5bp/web_performance/cache_expiration.conf b/h5bp/web_performance/cache_expiration.conf
index 85f191c3..ee2b5888 100644
--- a/h5bp/web_performance/cache_expiration.conf
+++ b/h5bp/web_performance/cache_expiration.conf
@@ -19,14 +19,14 @@ map $sent_http_content_type $expires {
   ~*text/css                              1y;
 
   # Data interchange
-  ~*application/atom+xml                  1h;
-  ~*application/rdf+xml                   1h;
-  ~*application/rss+xml                   1h;
+  ~*application/atom\+xml                 1h;
+  ~*application/rdf\+xml                  1h;
+  ~*application/rss\+xml                  1h;
 
   ~*application/json                      0;
-  ~*application/ld+json                   0;
-  ~*application/schema+json               0;
-  ~*application/geo+json                  0;
+  ~*application/ld\+json                  0;
+  ~*application/schema\+json              0;
+  ~*application/geo\+json                 0;
   ~*application/xml                       0;
   ~*text/calendar                         0;
   ~*text/xml                              0;
@@ -44,8 +44,8 @@ map $sent_http_content_type $expires {
   ~*text/javascript                       1y;
 
   # Manifest files
-  ~*application/manifest+json             1w;
-  ~*application/x-web-app-manifest+json   0;
+  ~*application/manifest\+json            1w;
+  ~*application/x-web-app-manifest\+json  0;
   ~*text/cache-manifest                   0;
 
   # Markdown