DEV Community

Discussion on: The Hitchhiker's Guide to Laravel Vapor

Collapse
 
orrison profile image
Kevin Ullyott

Amazing article Vedran! I saw Y’all discussing using Cloudflare along with Vapor in some other comments. I would highly recommend that. Even Vapor itself recommends it if you are using API gateway V2 to have automatic http to https redirection.

I wrote an open source package called Cumulus that uses the Vapor CLI and and the Cloudflare API SDK to make copying the required DNS records from Laravel Vapor to Cloudflare super fast and automatic with a simple command. I had gotten sick of manually copying the records over!

Collapse
 
cindreta profile image
Vedran Cindrić

I had to do it at the end :) It was the only sane way to make http to https work 😃 There are benefits alongside that as well so yes thank you for the suggestions! It’s a good tip!

All the best in 2022. and thank you for reading!

Collapse
 
orrison profile image
Kevin Ullyott

Hope you have a good 2022 as well! Happy coding!