Hey all, I’m asking this for a friend and my own curiosity. I am trying to make my site accessible via regular http requests as opposed to https requests. I have set the force_https flag to false in my fly.toml. But I am still seeing 307 redirects to the https url for my site instead. I have tried removing the 443 service from my fly.toml as well as opening different ports other than 80, but it is always sending redirects. My application is a simple NodeJS/Express server that is not doing any redirecting itself. Is the force_https flag no longer a valid flag anymore?
Thanks!
My fly.toml for reference
app = "*****"
primary_region = "den"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[env]
PORT = "8080"
PRIMARY_REGION = "den"
[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]
[[services.ports]]
force_https = false
port = 8081
handlers = ["http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.