diff options
author | Alan Pearce | 2024-04-23 22:15:57 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-23 22:15:57 +0200 |
commit | 5465b7b8462c1af9c6e2ebce9f82b75c918b66cc (patch) | |
tree | fe48d90f112fc5542cb069ff0c1eaca9d3885cd1 | |
parent | 68c5ef35c1c5da36d286423994cdef7a02f847f7 (diff) | |
download | website-5465b7b8462c1af9c6e2ebce9f82b75c918b66cc.tar.lz website-5465b7b8462c1af9c6e2ebce9f82b75c918b66cc.tar.zst website-5465b7b8462c1af9c6e2ebce9f82b75c918b66cc.zip |
listen on port 80
-rw-r--r-- | fly.toml | 4 | ||||
-rw-r--r-- | 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"; |