Ebextension file for redirection Http to Https with Elastic beanstalk

Ebextension file for redirection Http to Https with Elastic beanstalk



files:
# Redirect HTTP to HTTPS
"/etc/httpd/conf.d/https_redirect.conf":
mode: "000644"
owner: root
group: root
content: |

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} ^http$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Comments

Popular posts from this blog

My Response is on my own Website : Best Quality Backlink Strategy

Hottest Snapchat girls usernames online

Simran Dhanwani (YouTuber) Height, Weight, Age, Affairs, Biography & More Details