From 6e000a50093da6c63c5df2ded5dbbac8526c8b96 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Thu, 1 Dec 2016 13:10:20 +0100 Subject: [PATCH] chat - location fix --- customer/pixelpark/chat01.pixelpark.com.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/customer/pixelpark/chat01.pixelpark.com.yaml b/customer/pixelpark/chat01.pixelpark.com.yaml index 6c84e485..0820ff55 100644 --- a/customer/pixelpark/chat01.pixelpark.com.yaml +++ b/customer/pixelpark/chat01.pixelpark.com.yaml @@ -54,13 +54,12 @@ nginx::nginx_vhosts: - 'X-Frame-Options SAMEORIGIN' - 'X-Forwarded-Ssl on' client_max_body_size: '50m' - locations: - '/api/info': - location_allow: - - '127.0.0.0/8' - - '217.66.51.0/24' - location_deny: - - 'all' + location_raw_append: | + location '/api/info' { + allow 127.0.0.0/8 + allow 217.66.51.0/24 + deny all + } nginx::nginx_upstreams: rocket_chat: -- 2.39.5