Few Fixes After infrastructure migration

This commit is contained in:
JonatanRek committed 2020-09-14 15:15:47 +02:00
1 parent 32521d0ed3
commit 30da6e162b
5 files changed
+23 -13

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
RewriteEngine On
# require https
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/api/update
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#RewriteCond %{HTTPS} off
#RewriteCond %{REQUEST_URI} !^/api/update
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#token to HTTP_AUTHORIZATION
RewriteCond %{HTTP:Authorization} ^(.*)