We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7b68c commit e94928bCopy full SHA for e94928b
public/.htaccess
@@ -20,8 +20,9 @@
20
RewriteRule ^ index.php [L]
21
22
##Force SSL
23
+
24
+ RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
25
+ RewriteCond %{HTTP:X-Forwarded-Proto} =""
26
RewriteCond %{HTTPS} !=on
- RewriteCond %{HTTP:X-Forwarded-Proto} !https
- RewriteCond %{HTTP_HOST} ^laravel-react-admin.herokuapp.com
- RewriteRule ^(.*)$ https://laravel-react-admin.herokuapp.com/$1 [R,L]
27
+ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
28
</IfModule>
0 commit comments