use redir instead of nginx

This commit is contained in:
Your Name 2024-02-29 01:49:38 +03:00
parent f0b532ef5b
commit 7195de50f8

View file

@ -71,7 +71,7 @@
RestartSec = "15"; RestartSec = "15";
Type="simple"; Type="simple";
DynamicUser=true; DynamicUser=true;
Exec="${pkgs.redir}/bin/redir -n 2000 123.123.123.123:3000"; Exec="${pkgs.redir}/bin/redir -n :2000 123.123.123.123:3000";
}; };
}; };
@ -84,7 +84,7 @@
RestartSec = "15"; RestartSec = "15";
Type="simple"; Type="simple";
DynamicUser=true; DynamicUser=true;
Exec="${pkgs.redir}/bin/redir -n 2001 123.123.123.123:3000"; Exec="${pkgs.redir}/bin/redir -n :2001 123.123.123.123:3000";
}; };
}; };