Modified caddy to make a simple working code
This commit is contained in:
@@ -23,14 +23,14 @@ in {
|
||||
"1443:8443"
|
||||
];
|
||||
volumes = [
|
||||
"~/containers/caddy/Caddyfile:/etc/caddy/Caddyfile"
|
||||
"/home/deploy/containers/caddy/Caddyfile:/etc/caddy/Caddyfile:Z"
|
||||
];
|
||||
};
|
||||
|
||||
home.file."containers/caddy/Caddyfile".text = ''
|
||||
localhost
|
||||
|
||||
response "Hello, world!"
|
||||
http://localhost {
|
||||
respond "Hello there"
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user