diff options
author | Stetsed | 2022-10-26 17:17:04 +0200 |
---|---|---|
committer | Stetsed | 2022-10-26 17:17:04 +0200 |
commit | 4bf949aff799454dd19a9c38b6085e468dcaac72 (patch) | |
tree | 6cf247788145f7bcd0f75f5c7ecf0b17503cd8b1 /Caddyfile-example | |
download | aur-4bf949aff799454dd19a9c38b6085e468dcaac72.tar.gz |
2.6.2
Diffstat (limited to 'Caddyfile-example')
-rw-r--r-- | Caddyfile-example | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Caddyfile-example b/Caddyfile-example new file mode 100644 index 000000000000..8c5469ee8c20 --- /dev/null +++ b/Caddyfile-example @@ -0,0 +1,16 @@ +# For the "reverse-proxy with auto TLS certificate", add entries as follows. +# Don't forget to set `NJALLA_TOKEN`, e.g., in /var/lib/caddy/envfile +# +# example.com { +# reverse_proxy localhost:8080 +# tls { +# dns njalla {env.NJALLA_TOKEN} +# } +# } +# +# example.net { +# reverse_proxy localhost:8800 +# tls { +# dns njalla {env.NJALLA_TOKEN} +# } +# } |