Category : https

I need to redirect my website from http to https. I follow aws guide (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-elb.html) and now, if i add "https://" to url, it works. So i add a .config file in .ebextensions folder with this code: files: /etc/httpd/conf.d/http-redirect.conf: mode: "000644" owner: root group: root content: | RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTP_USER_AGENT} !ELB-HealthChecker ..

Read more