aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-01 22:09:48 +0800
committercrupest <crupest@outlook.com>2022-11-01 22:09:48 +0800
commitaa90657fd5c4bdfffc23a58ee40b4b43200bce9b (patch)
treeaefdf4786f4e90472bef99d467de6d372646f12a /template
parentbdf4aead4dd2a354220d120a76fc625dbb2dc83a (diff)
downloadcrupest-aa90657fd5c4bdfffc23a58ee40b4b43200bce9b.tar.gz
crupest-aa90657fd5c4bdfffc23a58ee40b4b43200bce9b.tar.bz2
crupest-aa90657fd5c4bdfffc23a58ee40b4b43200bce9b.zip
...
Diffstat (limited to 'template')
-rw-r--r--template/Caddyfile.template4
-rw-r--r--template/README.md1
2 files changed, 5 insertions, 0 deletions
diff --git a/template/Caddyfile.template b/template/Caddyfile.template
index da1ab0e..0a0122b 100644
--- a/template/Caddyfile.template
+++ b/template/Caddyfile.template
@@ -1,3 +1,7 @@
+{
+ email {{CRUPEST_EMAIL}}
+}
+
{{CRUPEST_DOMAIN}} {
root * /srv
encode gzip
diff --git a/template/README.md b/template/README.md
index 62d00a3..a8aebd1 100644
--- a/template/README.md
+++ b/template/README.md
@@ -6,6 +6,7 @@ Here are the variables used in templates:
| Variable | Description |
| -------- | ----------- |
| `CRUPEST_DOMAIN` | Domain to deploy. |
+| `CRUPEST_EMAIL` | Email address used in some cases like ssl cert. |
| `CRUPEST_USER` | Your username. Run `id -un` to get it. |
| `CRUPEST_GROUP` | Your group. Run `id -gn` to get it. |
| `CRUPEST_UID` | Your uid. Run `id -u` to get it. |