tenancy icon indicating copy to clipboard operation
tenancy copied to clipboard

Adding Laravel Vapor Deployment Guide

Open CovertError opened this issue 2 years ago • 1 comments

Description

just a guide for what needs to be done to deploy a multi-database multi-domain on Laravel vapor

Why this should be added

well currently as far as I looked I can't find one that explains this soo

CovertError avatar Jun 24 '22 20:06 CovertError

Subscribing to this as we're currently in the throes of moving to Vapor, and using this tenancy package is in our near future!

danmatthews avatar Sep 20 '22 08:09 danmatthews

There isn't really anything special about Vapor when it comes to multi-tenancy.

The only thing to keep in mind is that out of the box, Vapor doesn't let you use HTTPS certificates for customer domains. You might be able to use SAN certificates, but those are limited and generally not recommended.

Instead, you need to use something like Caddy to deal with the HTTPS certificates. Laravel News has an article about this: https://laravel-news.com/unlimited-custom-domains-vapor

stancl avatar Sep 28 '22 18:09 stancl