From 4badeccdced58f1040c3f6ffc65fbf45379cbd10 Mon Sep 17 00:00:00 2001 From: Esteban Zeller Date: Tue, 19 Jan 2021 15:19:52 -0300 Subject: [PATCH] add permissions to allow OPTIONS request Edited pound.cfg config file to allow to pass OPTIONS request into the Magento instance. --- images/tls/pound.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/tls/pound.cfg b/images/tls/pound.cfg index adb2c4c1..64cf8ae6 100644 --- a/images/tls/pound.cfg +++ b/images/tls/pound.cfg @@ -43,7 +43,8 @@ ListenHTTPS Port 443 ## allow PUT and DELETE also (by default only GET, POST and HEAD)?: - xHTTP 1 + ## allow (between other actions) OPTIONS requests for REST with CORS + xHTTP 2 HeadRemove "X-Forwarded-Proto" AddHeader "X-Forwarded-Proto: https"