specialtactics / laravel-api-boilerplate

Laravel API Boilerplate | Quickly build quality API products!
MIT License
490 stars 94 forks source link

[F-REQ] SSL Support #61

Closed abikali closed 2 years ago

abikali commented 2 years ago

I'm currently using this boilerplate to host an api, and linked to a domain name api.example.com.

I need to serve the domain through ssl but it seems the docker-compose file only supports port 80? Would I need to edit the nginx config files in order to make it run over HTTPS? my domain is under cloudflare

specialtactics commented 2 years ago

Hey @abikali this is more of an infrastructure question, the docker setup which comes with the boilerplate is purely for local usage.

How you set up your infrastructure for SSL is up to you, but it's not related to this boilerplate, or even Laravel itself.

You can for sure google for help on this topic and nginx configs, but it's just very outside of the scope of this project, so I cannot help you with that here.