Skip to content

Instantly share code, notes, and snippets.

@angelmartz
Forked from cjus/sample-nginx.conf
Created August 26, 2014 05:15
Show Gist options
  • Select an option

  • Save angelmartz/0880a2630a140939847d to your computer and use it in GitHub Desktop.

Select an option

Save angelmartz/0880a2630a140939847d to your computer and use it in GitHub Desktop.
server {
server_name yoursite.com;
root /usr/share/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment