]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker update sentenv
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 22 Aug 2017 11:03:19 +0000 (13:03 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 22 Aug 2017 11:03:19 +0000 (13:03 +0200)
customer/spk-spar-checker/production.yaml

index c0aa2e8696c73f20aa4153a7a4ba267d5a8e7de4..c14369e1bc949d4fd651f3cb37fa50ff9cf25576 100644 (file)
@@ -44,6 +44,8 @@ infra::profile::apache::pp_vhosts:
     aliases:
       - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api }
       - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp }
+    setenv:
+      - 'APPLICATION_ENV production'
     setenvif:
       - 'HTTPS on X-Forwarded-Proto=https'
       - 'HTTPS on HTTPS=on'
@@ -51,7 +53,6 @@ infra::profile::apache::pp_vhosts:
       - 'X-Forwarded-For ^109.86.229.215 admin_ip_range'
       - 'X-Forwarded-For ^195.69.134.114 admin_ip_range'
       - 'X-Forwarded-For ^88.99.67.38 admin_ip_range'
-      - 'APPLICATION_ENV production'
     directories:
       - provider: directory
         path: '/var/www/spar-checker/sparchecker-frontend/'