open port add nginx route
This commit is contained in:
parent
d60a2c7a45
commit
0bff25fc05
|
@ -81,13 +81,9 @@
|
|||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 5000 22 53 80 8080 ];
|
||||
allowedTCPPorts = [ 5000 22 53 80 8080 12000 ];
|
||||
allowedUDPPorts = [ 5000 22 53 80 8080 18900 19900 ];
|
||||
};
|
||||
|
||||
#networking.firewall.extraCommands = ''
|
||||
# iptables
|
||||
# '';
|
||||
#_______________________________Begin-VPN1-Server____________________________________
|
||||
|
||||
networking.wireguard.interfaces = {
|
||||
|
@ -230,7 +226,7 @@ networking.wireguard.interfaces = {
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/login" = {
|
||||
proxyPass = "http://10.10.11.1:80";
|
||||
proxyPass = "http://45.158.40.162:12000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue