.
This commit is contained in:
parent
70536b623b
commit
2041047a4b
@ -1,3 +1,23 @@
|
|||||||
Caddy!
|
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.
|
||||||
|
|
||||||
Edit the static site, and the Caddyfile.
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Caddy
|
|
Loading…
x
Reference in New Issue
Block a user