caddy testing
This commit is contained in:
@@ -48,6 +48,16 @@ in
|
||||
globalConfig = ''
|
||||
# auto_https ignore_loaded_certs
|
||||
'';
|
||||
|
||||
virtualHosts."key.${homelab.public_domain}" = {
|
||||
extraConfig = ''
|
||||
root * /etc/ssl/keys
|
||||
@root path /
|
||||
rewrite @root /klefki_pub.asc
|
||||
file_server
|
||||
header Content-Disposition "attachment"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# enable acme for auto ssl certs with lets encrypt
|
||||
|
||||
Reference in New Issue
Block a user