Skip to content

Instantly share code, notes, and snippets.

@milk1000cc
Last active March 7, 2023 12:27
Show Gist options
  • Save milk1000cc/ebef7e795c0c92f3514bb9596fb3e78c to your computer and use it in GitHub Desktop.
Save milk1000cc/ebef7e795c0c92f3514bb9596fb3e78c to your computer and use it in GitHub Desktop.
Squid on fly.io
# SEE ALSO: https://github.com/BynariStar/heroku-squid-proxy
app = "my-squid"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[env]
[experimental]
auto_rollback = true
[[services]]
http_checks = []
internal_port = 3128
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = []
port = 3128
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment