{ ... }:
{
  services.nginx.virtualHosts."mewtube.nekover.se" = {
    forceSSL = true;
    enableACME = true;
    listen = [{
      addr = "localhost";
      port = 8443;
      ssl = true;
      extraParameters = ["proxy_protocol"];
    }];
    locations."/" = {
      proxyPass = "http://cloudtube.vs.grzb.de:10412";
    };
    extraConfig = ''
      set_real_ip_from 127.0.0.1;
      real_ip_header proxy_protocol;
    '';
  };
}