summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/music.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/music.nix')
-rw-r--r--makefu/2configs/home/music.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/makefu/2configs/home/music.nix b/makefu/2configs/home/music.nix
index 7f5a425d2..7dd8ca6e1 100644
--- a/makefu/2configs/home/music.nix
+++ b/makefu/2configs/home/music.nix
@@ -22,10 +22,6 @@ in
locations."/".proxyPass = "http://localhost:${toString port}";
locations."/".proxyWebsockets = true;
- extraConfig = ''
- if ( $server_addr != "${internal-ip}" ) {
- return 403;
- }
- '';
};
+ networking.firewall.allowedTCPPorts = [ port ];
}