(Asummption: you do not mean a web server (e.g. Apache or Nginx), but your application process)
The only real limitation is what you can run on Linux. Nginx is the proxy server used by the Heroku stack, but it is up to you to decide what it is.
I saw how with Tin, Weybrick and the Unicorn were without problems.
source share