remove vpn2 & vhost

This commit is contained in:
Leon Vita 2023-05-23 18:31:36 +01:00
parent 15331eea97
commit cf86ed2330

View File

@ -167,31 +167,7 @@
};
#-----------------------------END-VPN---------------------------------
#__________________________Begin-VPN2-Server_____________________
networking.wireguard.interfaces = {
#Interface. Untrusted VPN
vpn2 = {
#IP address && Subnet.
ips = [ "10.10.100.1/24" ];
#VPN Port.
listenPort = 19900;
# Path to the private key file.
#
privateKeyFile = "/etc/wireguard/privatekey";
peers = [
# -----------------leon-Mac-------------------------.
{
publicKey = "6GRIp7SjHyu5sgqudtgZdN9CKbV3GYtMnwgo06F4ylo=";
allowedIPs = [ "10.10.100.0/24" ];
}
];
};
};
#-----------------------------END-VPN---------------------------------
#-----------------------------ngin-X--------------------------------
@ -230,16 +206,7 @@ networking.wireguard.interfaces = {
proxyWebsockets = true;
};
};
virtualHosts."hospital-gly.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.10.11.21";
proxyWebsockets = true;
};
};
};
#-----------------------------ngin-X--------------------------------