Adding Bandit to Phoenix 1.7 (alternative web server support)


I wanted to test how easy it was to add Bandit as a web server in Phoenix 1.7 since it ships with alternative web server support. Turns out, it’s incredibly easy!

  • Add the dependency
  • Set the adapter in config/config.exs
  • That’s it! 🔥

Bandit docs:

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.