From d87971567be3c95c7c9f62d099935eae8802dfc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Wed, 25 Jan 2017 19:05:27 +0100
Subject: [PATCH] fix vhost (caused bufferings)

---
 6.Nginx/vhost_streaming.conf | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/6.Nginx/vhost_streaming.conf b/6.Nginx/vhost_streaming.conf
index c2f6ce3f..0f2d68e6 100644
--- a/6.Nginx/vhost_streaming.conf
+++ b/6.Nginx/vhost_streaming.conf
@@ -22,9 +22,6 @@ server {
 		location ~ \.m3u8$ {
 			rewrite ^/(.*)$ /$1? break;
 			proxy_pass http://localhost:1935;
-			add_header Access-Control-Allow-Origin "*";
-			add_header X-Cache $upstream_cache_status;
-			expires -1;
 			proxy_cache livecache;
 			proxy_cache_key $scheme$proxy_host$uri;
 			proxy_cache_lock on;
@@ -35,9 +32,6 @@ server {
 		location ~ \.ts$ {
 			rewrite ^/(.*)$ /$1? break;
 			proxy_pass http://localhost:1935;
-			add_header Access-Control-Allow-Origin "*";
-			add_header X-Cache $upstream_cache_status;
-			expires 2s;
 			proxy_cache livecache;
 			proxy_cache_key $scheme$proxy_host$uri;
 			proxy_cache_lock on;
-- 
GitLab