From: Philipp Dallig Date: Thu, 1 Dec 2016 12:10:20 +0000 (+0100) Subject: chat - location fix X-Git-Tag: v0.1.0~3725^2~113 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=6e000a50093da6c63c5df2ded5dbbac8526c8b96;p=pixelpark%2Fhiera.git chat - location fix --- 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: