mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: switch away from useACME
This commit is contained in:
parent
a371faa29c
commit
8dd8ffb3c8
5 changed files with 19 additions and 8 deletions
|
|
@ -11,8 +11,9 @@
|
|||
};
|
||||
|
||||
nginx.virtualHosts.${config.services.grafana.domain} = {
|
||||
useACMEHost = "liv.town";
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
|
||||
proxyWebsockets = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue