]> _ Git - pmi.git/commitdiff
fix #2832 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Jun 2019 15:15:22 +0000 (17:15 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Jun 2019 15:15:22 +0000 (17:15 +0200)
public/.htaccess

index b75525bedcd85c37bf37df77ecb65dcadfa617d1..5ca19630c231233ea910710ad37024f859ca081e 100644 (file)
@@ -5,6 +5,12 @@
 
     RewriteEngine On
 
+    RewriteCond %{HTTPS} off
+    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+
+    RewriteCond %{HTTP_HOST} =pmi.dev.cubedesigners.com
+    RewriteRule ^(.*)$ https://staging.pm-instrumentation.com/$1 [R=301,L]
+
     # Handle Authorization Header
     RewriteCond %{HTTP:Authorization} .
     RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]