diff --git a/nixos/hosts/ingress-proxy/default.nix b/nixos/hosts/ingress-proxy/default.nix index 46d07d3..757d991 100644 --- a/nixos/hosts/ingress-proxy/default.nix +++ b/nixos/hosts/ingress-proxy/default.nix @@ -138,7 +138,9 @@ in { proxy_request_buffering off; ''; }; + } // defaultConfig // { forceSSL = false; }; + "media.sapphic.engineer" = rec { locations."/proxy" = { recommendedProxySettings = true; proxyPass = "http://se"; @@ -157,6 +159,7 @@ in { proxy_cache_use_stale error timeout invalid_header updating; ''; }; + locations."/media" = locations."/proxy"; } // defaultConfig // { forceSSL = false; }; }; };