diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index ae6406ea..29e2eada 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -43,20 +43,6 @@ in }; }; - services.nginx.virtualHosts."cloud.malobeo.org" = { - forceSSL = true; - enableACME= true; - locations."/" = { - proxyPass = "http://10.0.0.10"; - extraConfig = '' - client_max_body_size 10G; - client_body_timeout 3600s; - send_timeout 3600s; - fastcgi_buffers 64 4K; - ''; - }; - }; - services.nginx.virtualHosts."grafana.malobeo.org" = { forceSSL = true; enableACME= true; @@ -78,23 +64,6 @@ in }; - services.nginx.virtualHosts."zines.malobeo.org" = { - forceSSL = true; - enableACME= true; - locations."/" = { - proxyPass = "http://10.0.0.10"; - extraConfig = '' - client_body_in_file_only clean; - client_body_buffer_size 32K; - - client_max_body_size 50M; - - sendfile on; - send_timeout 300s; - ''; - }; - }; - services.nginx.virtualHosts."status.malobeo.org" = { forceSSL = true; enableACME= true; diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index 39049719..67603e7d 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -40,19 +40,6 @@ with lib; }; }; - virtualHosts."cloud.malobeo.org" = { - locations."/" = { - proxyPass = "http://10.100.0.101"; - extraConfig = '' - proxy_set_header Host $host; - client_max_body_size ${inputs.self.nixosConfigurations.nextcloud.config.services.nextcloud.maxUploadSize}; - client_body_timeout 3600s; - send_timeout 3600s; - fastcgi_buffers 64 4K; - ''; - }; - }; - virtualHosts."grafana.malobeo.org" = { locations."/" = { proxyPass = "http://10.100.0.101"; @@ -70,28 +57,6 @@ with lib; ''; }; }; - - virtualHosts."zines.malobeo.org" = { - locations."/" = { - proxyPass = "http://10.100.0.101"; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header Authorization $http_authorization; # Pass the Authorization header - proxy_pass_header Authorization; - - client_body_in_file_only clean; - client_body_buffer_size 32K; - - client_max_body_size 50M; - - sendfile on; - send_timeout 300s; - ''; - }; - }; }; system.stateVersion = "22.11"; # Did you read the comment?