feat: move to server
This commit is contained in:
parent
674a4bfce5
commit
8bc98bd103
1 changed files with 3 additions and 5 deletions
|
|
@ -8,14 +8,14 @@
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
networking.firewall.allowedTCPPorts = [80 443];
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "10.0.0.69";
|
hostName = "sprechtl.ddns.net";
|
||||||
https = false;
|
https = true;
|
||||||
configureRedis = true;
|
configureRedis = true;
|
||||||
caching.redis = true;
|
caching.redis = true;
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
package = pkgs.nextcloud31;
|
package = pkgs.nextcloud31;
|
||||||
settings = let
|
settings = let
|
||||||
prot = "http"; # or https
|
prot = "https"; # or https
|
||||||
host = config.services.nextcloud.hostName;
|
host = config.services.nextcloud.hostName;
|
||||||
dir = "/nextcloud";
|
dir = "/nextcloud";
|
||||||
in {
|
in {
|
||||||
|
|
@ -49,9 +49,7 @@
|
||||||
port = 8080; # NOT an exposed port
|
port = 8080; # NOT an exposed port
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
virtualHosts."localhost" = {
|
|
||||||
locations = {
|
locations = {
|
||||||
"/nextcloud" = {
|
"/nextcloud" = {
|
||||||
priority = 9999;
|
priority = 9999;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue