简体   繁体   中英

How to Enable SSL on Laravel Sail

I am using Laravel Sail and I am trying to share my site for testing. It works fine. The website can be accessed using the url generated from sail share . What I want to happen is to use SSL while sharing the test website.

I have tried searching around but I did not get the answer for this. I was only given links to another website but it does not help because Laravel Sail is using containers. If possible, a guide would be helpful.

Cheers!

You can find this information on https://beyondco.de/docs/expose/client/configuration

Apparantly this is default behaviour when you configure expose ( the underlying technique of Laravel Sail) to use port 443.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM