How come phoenix webframework website is built with Ruby on Rails?

You could write a static site in Cowboy Plug but you would have to recompile and redeploy the entire elixir app every time you changed the site file structure because you might be changing the routes. At least with nginx you just need to change a conf file and reboot; not even that if you have a simple site.