• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Jeff Mould

A Tech Blog by Jeff Mould

  • Home
  • Resources
    • Website Resources
    • How To Use WordPress
  • Jeff Mould
    • About Jeff Mould
    • Jeff Mould Links
    • Disclosure
  • Contact Jeff Mould
You are here: Home / Archives for amazon

amazon

Laravel 5.2 – Forcing HTTPS Routes when using SSL

January 31, 2016 by Jeff Mould 28 Comments

There is an increasing push for privacy and security on the web and a lot of this starts with sites using SSL to encrypt their traffic. With SSL certificates now free from companies like Amazon recently launching their AWS Certificate Manager and initiatives like Let's Encrypt there really is no reason now that sites should not have SSL. This article though is not about encryption, installing SSL, or your need for SSL in general. Instead I want to focus on after you have chosen to implement SSL on your site. Particularly if you are using AWS Certificate Manager (ACM) with an Amazon Elastic Load Balancer (ELB) in front of a Laravel 5.2 site. You may like many others choose to keep it simple and have the ELB forward port 443 (HTTPS) to port 80 (HTTP) on your EC2 instance. In this case there you may not have a certificate residing on the EC2 instance(s) and you may not have the EC2 instance configured to handle requests on port 443. If you are using Laravel 5.2 this may present some … [Read more...] about Laravel 5.2 – Forcing HTTPS Routes when using SSL

Filed Under: Laravel, Laravel 5 Tagged With: acm, amazon, amazon certificate manager, aws, ec2, http, https, jeff mould, Laravel, laravel 5, laravel 5.2, PHP, php framework, port 443, port 80, ssl, tls

Primary Sidebar

Connect With Me

  • Facebook
  • GitHub
  • Google+
  • Instagram
  • LinkedIn
  • Pinterest
  • Tumblr
  • Twitter
  • YouTube

Top Posts & Pages

  • Laravel 5.4 Redirect after Password Reset Email Sent
  • The mixed up pricing of SiriusXM and SiriusXM Discounts
  • Laravel 5.2 - Forcing HTTPS Routes when using SSL
  • Bootstrap 4 Mobile Menu - Collapsible Nav
  • Exclude Subdirectory from Routing in Laravel 5

Copyright © 2016 - Jeff Mould - All Rights Reserved