Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

In this guide you will learn how to use Caddy web server to automatically generate an SSL certificate and run ImagineAPI using a domain/subdomain instead of an IP.

  1. Make sure you point a domain to the IP where ImagineAPI is hosted.
  2. git clone git@github.com:imagineapi/ssl.git
  3. cd ssl
  4. Add your email and domain to Caddyfile. For example I want my domain to be demo.imagineapi.dev and my Caddyfile looks like this:
 {
 email team@imagineapi.dev
 }
 
 demo.imagineapi.dev {
 reverse_proxy api:8055
 }
  1. Launch the Caddy server with docker compose up -d

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /