From 6455ecea65432e2c93d6613a7e04bdc4ad1060c4 Mon Sep 17 00:00:00 2001 From: DoTheEvolution Date: Thu, 14 May 2020 08:36:21 +0200 Subject: [PATCH 1/2] update --- caddy_v2/readme.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/caddy_v2/readme.md b/caddy_v2/readme.md index 615a120..74d955c 100644 --- a/caddy_v2/readme.md +++ b/caddy_v2/readme.md @@ -6,6 +6,11 @@ # Purpose +* [Official site](https://caddyserver.com/v2) +* [Official documentation](https://caddyserver.com/docs/) +* [Forum](https://caddy.community/) +* [Github](https://github.com/caddyserver/caddy) + Reverse proxy setup that allows hosting many services and access them based on the host name.
For example nextcloud.blabla.org takes you to your nextcloud file sharing, @@ -209,7 +214,11 @@ adding whatever is the local IP of the docker host and the hostname: * `192.168.1.222 a.blabla.org` * `192.168.1.222 b.blabla.org` -Or use Opera browser and enable the build in VPN if it's for quick testing. +Or use Opera browser and enable the build in VPN if it's for quick testing.
+One can also run a dns/dhcp server on the network, to solve this for all +devices, +[here's how to run dnsmasq](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/dnsmasq) + ### - Run it all @@ -234,7 +243,8 @@ For example trying to ping hosts that are suppose to be reachable, There's also other possible issues, like bad port forwarding towards docker host. *extra info:*
-`docker exec -w /etc/caddy caddy caddy reload` reloads config. +`docker exec -w /etc/caddy caddy caddy reload` reloads config +if you made changes and want them to take effect. # Caddy more info and various configurations From 56ceb3ff19382879cb9bfc96b260d2ba42ea4ee9 Mon Sep 17 00:00:00 2001 From: DoTheEvolution Date: Thu, 14 May 2020 08:37:26 +0200 Subject: [PATCH 2/2] update --- caddy_v2/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caddy_v2/readme.md b/caddy_v2/readme.md index 74d955c..9248006 100644 --- a/caddy_v2/readme.md +++ b/caddy_v2/readme.md @@ -4,13 +4,13 @@ ![logo](https://i.imgur.com/xmSY5qu.png) -# Purpose - * [Official site](https://caddyserver.com/v2) * [Official documentation](https://caddyserver.com/docs/) * [Forum](https://caddy.community/) * [Github](https://github.com/caddyserver/caddy) +# Purpose + Reverse proxy setup that allows hosting many services and access them based on the host name.
For example nextcloud.blabla.org takes you to your nextcloud file sharing,