From 5465b7b8462c1af9c6e2ebce9f82b75c918b66cc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 23 Apr 2024 22:15:57 +0200 Subject: listen on port 80 --- fly.toml | 4 ++-- nix/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fly.toml b/fly.toml index cb87039..5b25a9d 100644 --- a/fly.toml +++ b/fly.toml @@ -10,7 +10,7 @@ primary_region = "ams" image = "registry.fly.io/alanpearce-eu" [env] - PORT = "3000" + PORT = "80" REDIRECT_OTHER_HOSTNAMES = "true" BASE_URL = "https://alanpearce.eu" @@ -19,7 +19,7 @@ primary_region = "ams" path = "/metrics" [http_service] - internal_port = 3000 + internal_port = 80 force_https = true auto_stop_machines = false auto_start_machines = true diff --git a/nix/default.nix b/nix/default.nix index 1ee61a2..aa0ac62 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -4,7 +4,7 @@ let dockerTag = self.rev or self.dirtyRev or "unstable-${self.lastModified}"; mkDocker = type: { server, website }: let - PORT = 3000; + PORT = 80; in pkgs.dockerTools.${type} { name = "registry.fly.io/alanpearce-eu"; -- cgit 1.4.1