diff --git a/71.Install_a_cache/default b/71.Install_a_cache/default
index 18b06620dd300cda33fee72cb965e0f4728611eb..309391d686e3254163c4ba007f5354d7eac1ac83 100644
--- a/71.Install_a_cache/default
+++ b/71.Install_a_cache/default
@@ -28,6 +28,8 @@ server {
             add_header X-Cache $upstream_cache_status;
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
         }
 
         location ~* /live/.*\.(ts)$ {
@@ -44,6 +46,8 @@ server {
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
             proxy_cache_valid 200 10s;
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
         }
           
 # cache configuration for vod (old easycast stations)
@@ -60,6 +64,8 @@ server {
             add_header X-Cache $upstream_cache_status;
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
         }
 
 	location ~* /vod/.*\.(ts)$ {
@@ -76,7 +82,9 @@ server {
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
             proxy_cache_valid 200 7d;
-        }
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
+       }
         
 # cache configuration for vod (new easycast stations 06/04/2016)
         location ~* \.(m3u8)$ {
@@ -92,6 +100,8 @@ server {
             add_header X-Cache $upstream_cache_status;
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
         }
 
         location ~* \.(ts)$ {
@@ -108,6 +118,8 @@ server {
             proxy_cache_use_stale updating;
             proxy_cache_min_uses 1;
             proxy_cache_valid 200 7d;
+            # do not consider secure urls as new files
+            proxy_cache_key $scheme$proxy_host$uri;
         }
 }