]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
chat01 - location for api information
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 1 Dec 2016 10:39:10 +0000 (11:39 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 1 Dec 2016 10:39:10 +0000 (11:39 +0100)
customer/pixelpark/chat01.pixelpark.com.yaml

index 61480fa2710f71a7db5d6bc7aa44cde35f0f2ffb..7f9ee18a86b0da650bd002ac35b56f3ff3969c77 100644 (file)
@@ -54,6 +54,10 @@ nginx::nginx_vhosts:
       - 'X-Frame-Options SAMEORIGIN'
       - 'X-Forwarded-Ssl on'
     client_max_body_size: '50m'
+    locations:
+      '/api/info':
+        internal: true
+        location_allow: '217.66.51.0/24'
 
 nginx::nginx_upstreams:
   rocket_chat: