This commit is contained in:
DoTheEvolution 2020-05-22 00:06:39 +02:00
parent 7726e229ea
commit dca41b0629
3 changed files with 9 additions and 6 deletions

View File

@ -100,9 +100,9 @@ So if theres boot menu option choose non-uefi.
nameserver 1.1.1.1 nameserver 1.1.1.1
``` ```
`systemctl enable --now systemd-networkd`</br> `systemctl enable --now systemd-networkd`
No troublesome `systemd-resolved` in this setup</br> No troublesome `systemd-resolved` in this setup.
* uncomment desidred locales in locale.gen</br> * uncomment desidred locales in locale.gen</br>
`vim /etc/locale.gen`</br> `vim /etc/locale.gen`</br>

View File

@ -287,12 +287,15 @@ if you made changes and want them to take effect.
# Caddy more info and various configurations # Caddy more info and various configurations
##### Caddyfile structure:
![caddyfile-diagram-pic](https://i.imgur.com/c0ycNal.png) ![caddyfile-diagram-pic](https://i.imgur.com/c0ycNal.png)
Worth reading the official documentation, especially these short pages Worth having a look at the official documentation, especially these short pages
* [reverse_proxy](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy) * [concept](https://caddyserver.com/docs/caddyfile/concepts)
* [conventions](https://caddyserver.com/docs/conventions) * [conventions](https://caddyserver.com/docs/conventions)
* [reverse_proxy](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy)
### Routing traffic to other machines on the LAN ### Routing traffic to other machines on the LAN

View File

@ -61,7 +61,7 @@ protocol=cloudflare, \
zone=example.com, \ zone=example.com, \
ttl=1, \ ttl=1, \
login=bastard@gmail.com, \ login=bastard@gmail.com, \
password=global-api-key-goes-here \ password=<global-api-key-goes-here> \
example.com,*.example.com,subdomain.example.com example.com,*.example.com,subdomain.example.com
## ##
@ -69,7 +69,7 @@ protocol=cloudflare, \
zone=example.org, \ zone=example.org, \
ttl=1, \ ttl=1, \
login=bastard@gmail.com, \ login=bastard@gmail.com, \
password=global-api-key-goes-here \ password=<global-api-key-goes-here> \
example.org,*.example.org,whatever.example.org example.org,*.example.org,whatever.example.org
``` ```