Created
August 27, 2013 11:58
-
-
Save ghiculescu/6352625 to your computer and use it in GitHub Desktop.
Jekyll nginx config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; # listen on http (port 80) | |
server_name blog.example.com; # 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 http://nginx.org/en/docs/http/ngx_http_headers_module.html for options. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment