How to run server as HTTP instead of HTTPS?

Hi! I have a game that only supports HTTP, not HTTPS. While it seems insecure, the game has its own encryption built on top of HTTP, and that’s how I have it now; although, upon moving to fly.io, it defaults to HTTPS.

Is it possible to host my API server as regular HTTP?

Hey there,

All of the configurations needed to make what you are wanting is done in the fly.toml file. I would take a look at this doc here- Fly Launch configuration (fly.toml) · Fly Docs. Hope this helps!

1 Like

Ah, that makes sense. The issue was force_https = true in that fly.toml file. For whatever reason, I expected this configuration to be in the site itself, but I guess, having it be programmatic like this means you can audit it through Git.

1 Like

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