fixing trusted proxies

This commit is contained in:
Chris Cochrun 2025-05-15 10:22:09 -05:00
parent ae4d7f3f7d
commit d3d70510cc
3 changed files with 5 additions and 19 deletions

View file

@ -34,10 +34,10 @@
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
inherit system; inherit system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
overlays = [ # overlays = [
(import ./python312overlay.nix) # (import ./python312overlay.nix)
nix-comfyui.overlays.default # nix-comfyui.overlays.default
]; # ];
}; };
in { in {

View file

@ -68,7 +68,7 @@ with lib;
overwriteProtocol = "https"; overwriteProtocol = "https";
default_phone_region = "US"; default_phone_region = "US";
trusted_domains = [ dn ]; trusted_domains = [ dn ];
trusted_proxies = [ "127.0.0.1" ]; trusted_proxies = [ "127.0.0.1" "24.255.22.143" "0.0.0.0" ];
}; };
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";

View file

@ -1,14 +0,0 @@
self: super: {
python312 = let
packageOverrides = python-self: python-super: {
openai = python-super.openai.overridePythonAttrs {
doCheck = false;
doInstallCheck = false;
pytestCheckPhase = false;
disabledTests = [
"async"
];
};
};
in super.python312.override {inherit packageOverrides;};
}