fixing trusted proxies
This commit is contained in:
parent
ae4d7f3f7d
commit
d3d70510cc
|
@ -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 {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;};
|
||||
}
|
Loading…
Reference in a new issue