proxy: split media proxy out
This commit is contained in:
parent
4dc381665c
commit
526a61ed3f
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib, pkgs, config, inputs, ... }: let
|
||||
tsHost = name: port: "${name}.hoki-porgy.ts.net:${toString port}";
|
||||
flakePackage = flake: inputs.${flake}.packages.${pkgs.system}.default;
|
||||
in {
|
||||
in rec {
|
||||
imports = [
|
||||
../../templates/proxmox-lxc.nix
|
||||
../../server.nix
|
||||
|
@ -86,7 +86,7 @@ in {
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
} // defaultConfig;
|
||||
in {
|
||||
in rec {
|
||||
"mekanoe.com" = mekanoesh;
|
||||
"noe.sh" = mekanoesh;
|
||||
|
||||
|
@ -138,6 +138,8 @@ in {
|
|||
proxy_request_buffering off;
|
||||
'';
|
||||
};
|
||||
|
||||
locations."/media/proxy" = services.nginx.virtualHosts."media.sapphic.engineer".locations."/proxy";
|
||||
} // defaultConfig // { forceSSL = false; };
|
||||
|
||||
"media.sapphic.engineer" = rec {
|
||||
|
|
Loading…
Add table
Reference in a new issue