listen on port 80
Alan Pearce alan@alanpearce.eu
Tue, 23 Apr 2024 22:15:57 +0200
2 files changed, 3 insertions(+), 3 deletions(-)
jump to
M fly.toml → fly.toml
@@ -10,7 +10,7 @@ [build] image = "registry.fly.io/alanpearce-eu" [env] - PORT = "3000" + PORT = "80" REDIRECT_OTHER_HOSTNAMES = "true" BASE_URL = "https://alanpearce.eu" @@ -19,7 +19,7 @@ port = 9091 path = "/metrics" [http_service] - internal_port = 3000 + internal_port = 80 force_https = true auto_stop_machines = false auto_start_machines = true
M nix/default.nix → nix/default.nix
@@ -4,7 +4,7 @@ version = self.shortRev or self.dirtyShortRev or "unstable-${self.lastModified}"; 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";