mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-19 15:50:30 +01:00
chore: comment out anubis
This commit is contained in:
parent
2c2e1544c5
commit
7671014026
7 changed files with 69 additions and 57 deletions
|
|
@ -32,19 +32,20 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
anubis.instances.atticd = {
|
||||
settings = {
|
||||
TARGET = "http://localhost:8060";
|
||||
BIND = ":8061";
|
||||
BIND_NETWORK = "tcp";
|
||||
};
|
||||
};
|
||||
#anubis.instances.atticd = {
|
||||
# settings = {
|
||||
# TARGET = "http://localhost:8060";
|
||||
# BIND = "/run/anubis/anubis-atticd/anubis.sock";
|
||||
# METRICS_BIND = "/run/anubis/anubis-atticd/anubis.sock";
|
||||
# };
|
||||
#};
|
||||
nginx.virtualHosts."cache.liv.town" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost${toString config.services.anubis.instances.atticd.settings.BIND}";
|
||||
# proxyPass = "http://unix:${toString config.services.anubis.instances.atticd.settings.BIND}";
|
||||
proxyPass = "http://localhost:8060";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue