From be52b200c25675b4e5e085db5bc486e4bc04dfab Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 11 Jun 2022 14:57:41 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20switch=20to=20IPs=20for=20nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (limit deploy failures) --- flake.lock | 8 ++++---- flake.nix | 2 +- modules/code-server/nginx.nix | 2 +- modules/gitea/nginx.nix | 2 +- modules/home-assistant/nginx.nix | 2 +- modules/matrix/nginx.nix | 2 +- modules/pleroma/nginx.nix | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index a5a1457..0bdc486 100644 --- a/flake.lock +++ b/flake.lock @@ -208,16 +208,16 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1654682581, - "narHash": "sha256-Jb1PQCwKgwdNAp907eR5zPzuxV+kRroA3UIxUxCMJ9s=", + "lastModified": 1654845941, + "narHash": "sha256-uXulXu4BQ9ch1ItV0FlL2Ns8X83m6unT5h/0X//VRLQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e0169d7a9d324afebf5679551407756c77af8930", + "rev": "7b3e907a6fef935794b5049c2c57c519853deb90", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-unstable", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 544832c..e006675 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "walkah's little city state"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; home-manager.url = "github:nix-community/home-manager"; flake-utils.url = "github:numtide/flake-utils"; deploy-rs.url = "github:serokell/deploy-rs"; diff --git a/modules/code-server/nginx.nix b/modules/code-server/nginx.nix index 5075bd6..40a9ba8 100644 --- a/modules/code-server/nginx.nix +++ b/modules/code-server/nginx.nix @@ -8,7 +8,7 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://epicurus:8080"; + proxyPass = "http://100.66.26.116:8080"; proxyWebsockets = true; }; }; diff --git a/modules/gitea/nginx.nix b/modules/gitea/nginx.nix index d9a475e..c7e9508 100644 --- a/modules/gitea/nginx.nix +++ b/modules/gitea/nginx.nix @@ -8,7 +8,7 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://plato:8003"; + proxyPass = "http://100.111.208.75:8003"; proxyWebsockets = true; }; }; diff --git a/modules/home-assistant/nginx.nix b/modules/home-assistant/nginx.nix index 52896db..1dca981 100644 --- a/modules/home-assistant/nginx.nix +++ b/modules/home-assistant/nginx.nix @@ -8,7 +8,7 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://plato:8123"; + proxyPass = "http://100.111.208.75:8123"; proxyWebsockets = true; }; }; diff --git a/modules/matrix/nginx.nix b/modules/matrix/nginx.nix index 2cb5036..d6a5b44 100644 --- a/modules/matrix/nginx.nix +++ b/modules/matrix/nginx.nix @@ -7,7 +7,7 @@ "matrix.walkah.chat" = { forceSSL = true; enableACME = true; - locations."/" = { proxyPass = "http://plato:8008"; }; + locations."/" = { proxyPass = "http://100.111.208.75:8008"; }; }; "walkah.chat" = { diff --git a/modules/pleroma/nginx.nix b/modules/pleroma/nginx.nix index 7540be9..73e6181 100644 --- a/modules/pleroma/nginx.nix +++ b/modules/pleroma/nginx.nix @@ -8,7 +8,7 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://plato:4000"; + proxyPass = "http://100.111.208.75:4000"; proxyWebsockets = true; }; };