Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Jekyll nginx config
server {
listen 80; # listen on http (port 80)
server_name; # the domain name people will access your site at
root /home/deployer/docs; # path to deploy to, eg: "/home/#{user}/docs". this should match whatever was in your Capistrano deploy file.
expires 1d; # how long should static files be cached for, see for options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.