From 440c450d817e1221d67e57f159fa5616e231c2be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Mon, 3 Feb 2020 22:58:30 +0100
Subject: [PATCH] Zmena nastaveni CORS

---
 entrypoint.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/entrypoint.sh b/entrypoint.sh
index 471144a..89db36a 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -45,10 +45,16 @@ upstream-url: ${UPSTREAM_URL}
 tls-cert: /etc/gatekeeper/cert.pem
 tls-private-key: /etc/gatekeeper/key.pem 
 cors-origins:
-- '*'
+ - '*'
 cors-methods:
-- GET
-- POST
+ - GET
+ - POST
+ - OPTIONS
+ - HEAD
+ - DELETE
+cors-headers:
+ - authorization
+ - content-type
 resources:
 ${RESOURCES}
 " > /etc/gatekeeper/gatekeeper.conf
-- 
GitLab