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 {
inherit system;
config = { allowUnfree = true; };
overlays = [
(import ./python312overlay.nix)
nix-comfyui.overlays.default
];
# overlays = [
# (import ./python312overlay.nix)
# nix-comfyui.overlays.default
# ];
};
in {

View file

@ -68,7 +68,7 @@ with lib;
overwriteProtocol = "https";
default_phone_region = "US";
trusted_domains = [ dn ];
trusted_proxies = [ "127.0.0.1" ];
trusted_proxies = [ "127.0.0.1" "24.255.22.143" "0.0.0.0" ];
};
config = {
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;};
}