Expose jellyfin to public

This commit is contained in:
Giulio De Pasquale 2022-10-09 23:24:27 +02:00
parent dfb25e3c72
commit f1f018a1a1

View File

@ -26,21 +26,21 @@ in {
locations."/" = {
proxyPass = "http://localhost:8096";
extraConfig = ''
allow 10.0.0.0/24;
allow 10.3.0.0/24;
deny all;
'';
# extraConfig = ''
# allow 10.0.0.0/24;
# allow 10.3.0.0/24;
# deny all;
# '';
};
locations."/socket" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
extraConfig = ''
allow 10.0.0.0/24;
allow 10.3.0.0/24;
deny all;
'';
# extraConfig = ''
# allow 10.0.0.0/24;
# allow 10.3.0.0/24;
# deny all;
# '';
};
};
};