]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-url-shorter - rewrite login to https
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 24 Feb 2016 09:58:15 +0000 (10:58 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 24 Feb 2016 09:58:15 +0000 (10:58 +0100)
customer/sirona-url-shorter/production.yaml

index ce932813fdfb185b7e40393c6c203031e3f2a0ca..bc4db7b081550613df710f1bab372448897aec74 100644 (file)
@@ -37,8 +37,11 @@ site::profile::apache::pp_vhosts:
         allow_override:
           - All
         directoryindex: 'index.php'
-    redirect_dest_non_ssl: https://prod-sirona-urlshorter.pixelpark.net
-    docroot_owner: apache
+    rewrites_non_ssl:
+      - alias:
+        comment: 'Rewrite Orte'
+        rewrite_rule:
+          - '^/admin/(.*)$ https://prod-sirona-urlshorter.pixelpark.net/admin/$1.html [R=307,L]'
   alessa:
     servername: alessa.sirona.de
     serveraliases: