the unfuckening
This commit is contained in:
parent
443f53cf8f
commit
d1ab22a870
7 changed files with 105 additions and 188 deletions
|
|
@ -7,12 +7,6 @@ in {
|
|||
ragon.agenix.secrets."plausibleGoogleClientId" = { };
|
||||
ragon.agenix.secrets."plausibleGoogleClientSecret" = { };
|
||||
ragon.agenix.secrets."smtpPassword" = { };
|
||||
services.nginx.virtualHosts.${domain} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass =
|
||||
"http://127.0.0.1:${toString config.services.plausible.server.port}";
|
||||
};
|
||||
systemd.services.plausible.serviceConfig.LoadCredential = [
|
||||
"GOOGLE_CLIENT_ID:${config.age.secrets.plausibleGoogleClientId.path}"
|
||||
"GOOGLE_CLIENT_SECRET:${config.age.secrets.plausibleGoogleClientSecret.path}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue