server adjustment
This commit is contained in:
parent
d7c91f56a1
commit
ba91796c3e
5 changed files with 13 additions and 19 deletions
|
|
@ -49,10 +49,7 @@
|
|||
};
|
||||
};
|
||||
nextcloud = {
|
||||
config = {
|
||||
adminpassFile = config.sops.secrets.nextcloud-pw.path;
|
||||
dbtype = "pgsql";
|
||||
};
|
||||
config.dbtype = "pgsql";
|
||||
database.createLocally = true;
|
||||
enable = true;
|
||||
hostName = "nextcloud-local";
|
||||
|
|
@ -106,11 +103,7 @@
|
|||
locations = {
|
||||
"/".extraConfig = phpPool;
|
||||
"/git/".proxyPass = "http://unix:/run/forgejo/forgejo.sock:/";
|
||||
"/grafana/" = {
|
||||
extraConfig = localNetworks;
|
||||
proxyPass = "http://unix:/run/grafana/grafana.sock:/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
"/grafana/".proxyPass = "http://unix:/run/grafana/grafana.sock:/";
|
||||
"/local/".extraConfig = "${phpPool} ${localNetworks}";
|
||||
"/nextcloud/".proxyPass = "http://localhost:45837/";
|
||||
"/vaultwarden/" = {
|
||||
|
|
@ -177,8 +170,10 @@
|
|||
};
|
||||
};
|
||||
sops.secrets = {
|
||||
grafana-key = { };
|
||||
nextcloud-pw = { };
|
||||
grafana-key = {
|
||||
group = "grafana";
|
||||
mode = "0440";
|
||||
};
|
||||
vaultwarden-env = { };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue