Skip to content

Commit 4f8aa6e

Browse files
committed
Putting back https
1 parent 95e87bd commit 4f8aa6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.htaccess

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010
## ------------- Comment out there for local dev ---##
1111
# If we receive a forwarded http request from a proxy...
12-
#RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
12+
RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
1313

1414
# ...or just a plain old http request directly from the client
15-
#RewriteCond %{HTTP:X-Forwarded-Proto} =""
16-
#RewriteCond %{HTTPS} !=on
15+
RewriteCond %{HTTP:X-Forwarded-Proto} =""
16+
RewriteCond %{HTTPS} !=on
1717

1818
# Redirect to https version
19-
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
19+
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2020
## ------------- END ---------------------------------##
2121

2222
RewriteRule ^(\.well-known/.*)$ $1 [L]

0 commit comments

Comments
 (0)