Installation instructions for HasteBin.
Debian and derivates
-
Install dependencies
-
Install node.js
-
Install and start hastebin
And you should have hastebin!
Note: It will run on port 7777 by default
Gentoo
Use ebuild www-apps/haste-server from the CVUT Overlay (runscript included).
Cloudron
Haste server is available as a 1-click install on Cloudron. Cloudron makes it easy to run apps like Haste server on your server and keep them up-to-date and secure.

The source code for the package can be found here.
There is a demo instance (username: cloudron password: cloudron) where
you can experiment with running Haste server.
Proxy configuration
source: http://www.ctrl-alt-del.cc/2014/11/haste-server-base-url-hackpatch.html
HAProxy
Nginx
Lighttpd
Apache
First we need to enable mod_proxy and mod_proxy_http:
Then add to the vhost configuration file:
So that the full config looks like this
This will also work