fixing trusted proxies
This commit is contained in:
parent
ae4d7f3f7d
commit
d3d70510cc
|
@ -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 {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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