24 lines
693 B
Plaintext
24 lines
693 B
Plaintext
Thanks for installing Caddy!
|
|
|
|
1) [OPTIONAL] Edit the container name if you wish:
|
|
dropshell edit $SERVER $SERVICE
|
|
|
|
2) Modify the default site content (if you won't serve it with something else):
|
|
cd ${LOCAL_CONFIG_PATH}/static
|
|
nano -w index.html
|
|
|
|
2) Customise the Caddyfile with
|
|
nano -w ${LOCAL_CONFIG_PATH}/caddyfile/Caddyfile
|
|
|
|
Note that adding reverse proxy's requires using the external address of the host.
|
|
E.g.
|
|
|
|
awesome.mydomain.com {
|
|
reverse_proxy 103.73.62.99:1234
|
|
}
|
|
|
|
This is because caddy is run in a docker container, not on the same docker network
|
|
as your other docker containers on the host. Your raw HTTP port is exposed unless
|
|
you firewall it off.
|
|
|