Merge pull request 'fixing commit mesg && adding new config' (#92) from leon/nix-config:master into master

Reviewed-on: #92
This commit is contained in:
astro 2022-12-07 18:44:06 +01:00
commit 689e951945
2 changed files with 13 additions and 5 deletions

View File

@ -207,8 +207,16 @@ networking.wireguard.interfaces = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.10.11.4:80";
proxyWebsockets = true;
proxyPass = "http://45.158.40.165:80";
proxyWebsockets = true;
};
};
virtualHosts."bicospacetech.stream.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.10.11.4:145000";
proxyWebsockets = true;
};
};
virtualHosts."portainer.netlab.c3d2.de" = {

View File

@ -47,7 +47,7 @@
# enable IP routing
networking.firewall = {
allowedTCPPorts = [ 80 443 22 53 14000 14500 15000 ];
allowedTCPPorts = [ 80 443 8080 22 53 14000 14500 15000 ];
allowedUDPPorts = [ 18900 53 ];
};
@ -89,8 +89,8 @@ services.nextcloud = {
dbname = "nextcloud";
adminpassFile = "/etc/nixos/next-cloud/pass";
adminuser = "root";
extraTrustedDomains = ["10.10.11.4" "10.10.11.1" "bicospacetech.cloud.c3d2.de"];
};
extraTrustedDomains = ["10.10.11.4" "10.10.11.1" "45.158.40.165" "bicospacetech.cloud.c3d2.de"];
};
};
services.postgresql = {