Listen to less ports

This commit is contained in:
Natsu Kagami 2023-06-01 21:03:00 +02:00
parent 995bb58c6f
commit f132e137e0
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 8 additions and 2 deletions

View file

@ -76,7 +76,7 @@ rec {
SCRIPT_NAME = "/admin";
};
env_file = [ secrets."headscale/webui-env".path ];
ports = [ "${toString webuiPort}:5000" ];
ports = [ "127.0.0.1:${toString webuiPort}:5000" ];
volumes = [
"/var/lib/headscale/webui:/data"
"/etc/headscale:/etc/headscale:ro"