nixos/kelder: Independent nginx config
This commit is contained in:
		@@ -172,14 +172,6 @@ in
 | 
			
		||||
                  dnsProvider = "cloudflare";
 | 
			
		||||
                  credentialsFile = config.age.secrets."middleman/cloudflare-credentials.conf".path;
 | 
			
		||||
                };
 | 
			
		||||
 | 
			
		||||
                "${lib.my.kelder.domain}" = {
 | 
			
		||||
                  extraDomainNames = [
 | 
			
		||||
                    "*.${lib.my.kelder.domain}"
 | 
			
		||||
                  ];
 | 
			
		||||
                  dnsProvider = "cloudflare";
 | 
			
		||||
                  credentialsFile = config.age.secrets."middleman/cloudflare-credentials.conf".path;
 | 
			
		||||
                };
 | 
			
		||||
              };
 | 
			
		||||
            };
 | 
			
		||||
          };
 | 
			
		||||
 
 | 
			
		||||
@@ -45,8 +45,6 @@ let
 | 
			
		||||
    };
 | 
			
		||||
    "/.well-known/webfinger".return = "301 https://toot.nul.ie$request_uri";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  kelderUpstream = "http://${lib.my.kelder.start.vpn.v4}2:80";
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  my = {
 | 
			
		||||
@@ -370,39 +368,6 @@ in
 | 
			
		||||
        };
 | 
			
		||||
        useACMEHost = lib.my.pubDomain;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      "torrents.${lib.my.kelder.domain}" = {
 | 
			
		||||
        locations."/".proxyPass = kelderUpstream;
 | 
			
		||||
        useACMEHost = lib.my.kelder.domain;
 | 
			
		||||
      };
 | 
			
		||||
      "jackett.${lib.my.kelder.domain}" = {
 | 
			
		||||
        locations."/".proxyPass = kelderUpstream;
 | 
			
		||||
        useACMEHost = lib.my.kelder.domain;
 | 
			
		||||
      };
 | 
			
		||||
      "radarr.${lib.my.kelder.domain}" = {
 | 
			
		||||
        locations."/" = {
 | 
			
		||||
          proxyPass = kelderUpstream;
 | 
			
		||||
          proxyWebsockets = true;
 | 
			
		||||
          extraConfig = lib.my.nginx.proxyHeaders;
 | 
			
		||||
        };
 | 
			
		||||
        useACMEHost = lib.my.kelder.domain;
 | 
			
		||||
      };
 | 
			
		||||
      "sonarr.${lib.my.kelder.domain}" = {
 | 
			
		||||
        locations."/" = {
 | 
			
		||||
          proxyPass = kelderUpstream;
 | 
			
		||||
          proxyWebsockets = true;
 | 
			
		||||
          extraConfig = lib.my.nginx.proxyHeaders;
 | 
			
		||||
        };
 | 
			
		||||
        useACMEHost = lib.my.kelder.domain;
 | 
			
		||||
      };
 | 
			
		||||
      "media.${lib.my.kelder.domain}" = {
 | 
			
		||||
        locations."/" = {
 | 
			
		||||
          proxyPass = kelderUpstream;
 | 
			
		||||
          proxyWebsockets = true;
 | 
			
		||||
          extraConfig = lib.my.nginx.proxyHeaders;
 | 
			
		||||
        };
 | 
			
		||||
        useACMEHost = lib.my.kelder.domain;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    minio =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user