acme isnt needed on proxy itself
This commit is contained in:
parent
e10824e57b
commit
6add85a106
1 changed files with 0 additions and 23 deletions
|
|
@ -36,29 +36,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
|
||||||
certs."stura.htw-dresden.de" = {
|
|
||||||
listenHTTP = ":8888";
|
|
||||||
extraDomainNames = [
|
|
||||||
"www.stura.htw-dresden.de"
|
|
||||||
];
|
|
||||||
group = "haproxy";
|
|
||||||
# postRun = ''
|
|
||||||
# cat cert.pem key.pem > full.pem
|
|
||||||
# chmod 640 full.pem
|
|
||||||
# systemctl reload haproxy
|
|
||||||
# '';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# give haproxy access to the cert files
|
|
||||||
users.users.haproxy.extraGroups = [ "acme" ];
|
|
||||||
|
|
||||||
systemd.services.haproxy = {
|
|
||||||
after = [ "acme-finished-stura.htw-dresden.de.target" ];
|
|
||||||
wants = [ "acme-finished-stura.htw-dresden.de.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue