hsedidn
(Howard Edidin)
1
I have an application in a Docker Container that exposes a REST API. The app does not support SSL.
I want to use Caddy as a proxy for the app. I have a wild-card cert from DigiCert.
The following are the steps I would like to incorporate.
-
Receive wild-card request on Port 80 or 433; [http://container.mysite.com
]
-
Redirect to base URL using SSL; [https://mysite.com:2101/r3/
]
There are over thirty different ports using Post, Get, Put and Delete
- Return response from [
https://mysite.com:2101/r3/
]
Can I run Caddy as a systemd service?
magikstm
(Magikstm)
2
Caddy systemd service doc: https://github.com/mholt/caddy/tree/master/dist/init/linux-systemd
It should be available in download package if you build from the website.
Is there an alternate way to do directly from a Docker Container?
There’s a few Caddy containers for Docker. The most popular one is abiosoft/caddy.
Naturally you won’t need to use systemd
if you use Docker to supervise Caddy in a container.
system
(system)
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.