dart_frog icon indicating copy to clipboard operation
dart_frog copied to clipboard

feat: How can I run Dart frog with HTTPS support (SSL)?

Open zottel4242 opened this issue 3 years ago • 1 comments

Description

How can I configure dart frog to allow accessing the server via HTTPS? I know that I need to setup the certificate on my server accordingly. However, it seems that I'd also need to adjust how the server is started via shelf? Does dart frog so far support HTTPS connections?

zottel4242 avatar Jul 30 '22 14:07 zottel4242

Hi @zottel4242 👋 Thanks for opening an issue!

The easiest way to achieve this is by generating a production build via dart_frog build and deploying to a cloud provider which has a container registry. We currently have deployment guides for:

We are planning to support custom entrypoints (#226) for cases where you need to manually configure the initialization of your app.

Hope that helps!

felangel avatar Aug 03 '22 22:08 felangel

You can now use a custom entrypoint (#226) to configure the server 👍 https://dartfrog.vgv.dev/docs/advanced/custom_entrypoint

felangel avatar Aug 15 '22 14:08 felangel

How can i run Dev Server with custom ssl cert?

unger1984 avatar Mar 10 '23 09:03 unger1984