From 1d5ec7895091621ab7d8352c6ce7032e8950ce85 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 13 Dec 2024 09:04:36 +0000 Subject: [PATCH] Set iceshrimp to use its :80 port, cleanup of alex's domains --- services/alex.nix | 66 +----------------------------------------- services/iceshrimp.nix | 2 +- 2 files changed, 2 insertions(+), 66 deletions(-) diff --git a/services/alex.nix b/services/alex.nix index b644a81..d9a9550 100644 --- a/services/alex.nix +++ b/services/alex.nix @@ -1,22 +1,6 @@ { # Reqeusts SSL and adds the site to nginx - services.nginx.virtualHosts."nederland.gay" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://192.168.178.243"; - proxyWebsockets = true; # needed if you need to use WebSocket - extraConfig = - # required when the target is also TLS server with multiple hosts - "proxy_ssl_server_name on;" + - # required when the server wants to use HTTP Authentication - "proxy_pass_header Authorization;" - ; - }; - }; - - # Reqeusts SSL and adds the site to nginx - services.nginx.virtualHosts."media.nederland.gay" = { + services.nginx.virtualHosts."inanimate.brainworms.nl" = { forceSSL = true; enableACME = true; locations."/" = { @@ -46,52 +30,4 @@ ; }; }; - - # Reqeusts SSL and adds the site to nginx - services.nginx.virtualHosts."cool.epic-toolbars.download" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://192.168.178.243"; - proxyWebsockets = true; # needed if you need to use WebSocket - extraConfig = - # required when the target is also TLS server with multiple hosts - "proxy_ssl_server_name on;" + - # required when the server wants to use HTTP Authentication - "proxy_pass_header Authorization;" - ; - }; - }; - - # Reqeusts SSL and adds the site to nginx - services.nginx.virtualHosts."free.epic-toolbars.download" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://192.168.178.243"; - proxyWebsockets = true; # needed if you need to use WebSocket - extraConfig = - # required when the target is also TLS server with multiple hosts - "proxy_ssl_server_name on;" + - # required when the server wants to use HTTP Authentication - "proxy_pass_header Authorization;" - ; - }; - }; - - # Reqeusts SSL and adds the site to nginx - services.nginx.virtualHosts."noscam.free.epic-toolbars.download" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://192.168.178.243"; - proxyWebsockets = true; # needed if you need to use WebSocket - extraConfig = - # required when the target is also TLS server with multiple hosts - "proxy_ssl_server_name on;" + - # required when the server wants to use HTTP Authentication - "proxy_pass_header Authorization;" - ; - }; - }; } diff --git a/services/iceshrimp.nix b/services/iceshrimp.nix index dbf425f..8e67163 100644 --- a/services/iceshrimp.nix +++ b/services/iceshrimp.nix @@ -11,7 +11,7 @@ "proxy_ssl_server_name on;" + # required when the server wants to use HTTP Authentication "proxy_pass_header Authorization;" - ; + ; }; };