about summary refs log tree commit diff stats
path: root/Caddyfile
diff options
context:
space:
mode:
authorAlan Pearce2023-07-07 20:14:19 +0200
committerAlan Pearce2023-07-07 20:14:19 +0200
commit2d635ac0e7045663e22df1d4183ae4348f01d527 (patch)
tree30a7e5e68bd165febb4877fa7518398524e1a06c /Caddyfile
parent3885eb15f33e967dfa83981af58ccac7af62fe4b (diff)
downloadwebsite-2d635ac0e7045663e22df1d4183ae4348f01d527.tar.lz
website-2d635ac0e7045663e22df1d4183ae4348f01d527.tar.zst
website-2d635ac0e7045663e22df1d4183ae4348f01d527.zip
Enable Caddyfile to validate without redis
Validation tries to connect to the redis server by the `storage` global
option, which is not possible without secrets that are not exposed
during the build
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Caddyfile b/Caddyfile
index b5d1b91..e5ca8f7 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -3,8 +3,7 @@
 	persist_config off
 	auto_https disable_redirects
 	acme_ca https://acme.zerossl.com/v2/DV90
-	storage redis {
-	}
+	import globals/*
 	servers :80 {
 		metrics
 		protocols h1 h2c