From c3b15d728bfd9c7c0428c8c2016b9ebf892211da Mon Sep 17 00:00:00 2001 From: Matt Arnold Date: Wed, 31 May 2023 09:20:21 -0400 Subject: finally kill miniweb --- appbuild.sh | 10 ---------- fly.toml | 35 +++++++++++++++++------------------ 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/appbuild.sh b/appbuild.sh index 2ebd932..95ea5dd 100755 --- a/appbuild.sh +++ b/appbuild.sh @@ -6,16 +6,6 @@ fi mkdir -pv $appRoot/src cd $appRoot/src echo $appRoot -git clone https://git.piusbird.space/miniweb.git/ -cd miniweb -make -cp miniwebproxy $appRoot -cp -r scripts/ $appRoot -chmod +x sign.sh -./sign.sh -cp intercept* $appRoot -cd .. -sh -c miniweb/sign.sh git clone https://git.piusbird.space/poseidon.git/ cd poseidon go build diff --git a/fly.toml b/fly.toml index 48e5258..307041d 100644 --- a/fly.toml +++ b/fly.toml @@ -1,38 +1,37 @@ -# fly.toml file generated for blueproxy on 2023-01-08T21:14:11-05:00 +# fly.toml app configuration file generated for blueproxy on 2023-05-12T12:32:08-04:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# app = "blueproxy" +primary_region = "ams" kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] - -[env] +kill_timeout = "5s" [experimental] - allowed_public_ports = [] auto_rollback = true [[services]] - http_checks = [] + protocol = "tcp" internal_port = 3000 + min_machines_running = 0 processes = ["app"] - protocol = "tcp" - script_checks = [] - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" [[services.ports]] - force_https = true - handlers = ["http"] port = 80 + handlers = ["http"] + force_https = true [[services.ports]] - handlers = ["tls", "http"] port = 443 + handlers = ["tls", "http"] + [services.concurrency] + type = "connections" + hard_limit = 25 + soft_limit = 20 [[services.tcp_checks]] - grace_period = "1s" interval = "15s" - restart_limit = 0 timeout = "2s" + grace_period = "1s" + restart_limit = 0 -- cgit 1.3.0-5-g400f