Skip to content

Commit d313579

Browse files
committed
vaultwarden: use static ipv4 localhost in nginx
* fixes iog cache
1 parent ff8230e commit d313579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nixos/optina/configuration.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ in
893893
useACMEHost = "lan.disasm.us";
894894
forceSSL = true;
895895
locations."/" = {
896-
proxyPass = "http://optina.lan.disasm.us:8000";
896+
proxyPass = "http://127.0.0.1:8000";
897897
extraConfig = ''
898898
proxy_set_header Host $host;
899899
proxy_set_header X-Forwarded-Proto $scheme;

nixos/valaam/configuration.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ in {
120120
settings.sandbox = true;
121121
settings.cores = 4;
122122
settings.extra-sandbox-paths = [ "/etc/nsswitch.conf" "/etc/protocols" ];
123-
settings.substituters = [ "https://cache.nixos.org" "https://hydra.iohk.io" ];
123+
settings.substituters = [ "https://cache.nixos.org" "https://cache.iog.io" ];
124124
settings.trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
125125
package = pkgs.nixUnstable;
126126
extraOptions = ''

0 commit comments

Comments
 (0)