API With my own SSL

Hello, Can my apps in fly io using bring my own SSL Certificate with dedicated IP?

You can handle your own SSL termination if you wish, by running your own web server such as nginx or apache. In your fly.toml, create a Service but don’t specify a handler, for TCP passthrough.

do you have tutorial for this?. please give me advice

@bogordesain like this:

[[services]]
  protocol = "tcp"
  internal_port = 80

  [[services.ports]]
    port = 80
    handlers = ["http"]

[[services]]
  protocol = "tcp"
  internal_port = 443

  [[services.ports]]
    port = 443
[[services]]
  internal_port = 443
  protocol = "tcp"
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  [[services.ports]]
    port = 443

not totally different with @andig cause using origin certificate from cloudflare. But you must allocate ipv4 to use this configuration.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.