Skip to content

imagineapi/ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

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 [email protected]: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 [email protected]
  }
  
  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

Watchers

Forks

Releases

No releases published

Packages

No packages published