adjust nextcloud port and change caddy to match
This commit is contained in:
parent
62ea9e7b88
commit
0ef58010f3
2 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@
|
||||||
-Server
|
-Server
|
||||||
}
|
}
|
||||||
|
|
||||||
root ${config.services.nginx.virtualHosts."localhost:8001".root}
|
root ${config.services.nginx.virtualHosts."localhost:8002".root}
|
||||||
file_server
|
file_server
|
||||||
|
|
||||||
php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket}
|
php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket}
|
||||||
|
|
@ -81,7 +81,7 @@
|
||||||
# use cloudflare origin certs for https
|
# use cloudflare origin certs for https
|
||||||
tls ${config.sops.secrets."caddy/wo2wz.fyi.crt".path} ${config.sops.secrets."caddy/wo2wz.fyi.key".path}
|
tls ${config.sops.secrets."caddy/wo2wz.fyi.crt".path} ${config.sops.secrets."caddy/wo2wz.fyi.key".path}
|
||||||
|
|
||||||
reverse_proxy localhost:3000
|
reverse_proxy localhost:8001
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud31;
|
package = pkgs.nextcloud31;
|
||||||
hostName = "localhost:8001";
|
hostName = "localhost:8002";
|
||||||
config = {
|
config = {
|
||||||
adminuser = "wo2w";
|
adminuser = "wo2w";
|
||||||
adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
|
adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue