summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Arnold <matt@thegnuguru.org>2023-05-31 09:20:21 -0400
committerMatt Arnold <matt@thegnuguru.org>2023-05-31 09:20:21 -0400
commitc3b15d728bfd9c7c0428c8c2016b9ebf892211da (patch)
treec6cf1a68d4b3932e2a386768c955a523a509f4a7
parent40aaec4e5082ae9ee5647592dfa99b7fae573f18 (diff)
finally kill miniweb
-rwxr-xr-xappbuild.sh10
-rw-r--r--fly.toml35
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