Having a lightweight http server (in this case Nginx) proxy request to Hunchentoot offers some advantages over letting Hunchentoot speak directly to the web:
- You can have nginx serve all the static files for you app, this way serving them faster while freeing lisp process for generating only dinamic content.
- You can take advantage of nginx caching strategies.
- You can use nginx for load-balancing.
Continue reading Hunchentoot behind a proxy server
Picking up from “Remote login with SSH key pair” and the updated “Setting up Lisp & Hunchentoot on a web server”, when i run emacs locally and connect to my running lisp + hunchentoot process on the server, the REPL alone, although awesome, is insufficient for my hacking need. I’ll need some way to work with remote files…
Continue reading Setting up SLIME Tramp filename translation
One secure and easy way of logging in to your remote server is by means of SSH keys. Basically you generate an SSH public/private key pair on your local machine, you put the public key on the remote server and the private key on you local machine, that way people trying to login on the remote box must have a matching private key. Here’s how i’ve done it.
Continue reading Remote login with SSH key pair