File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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]
You can’t perform that action at this time.
0 commit comments