Skip to content

Instantly share code, notes, and snippets.

@yerffejytnac
Created October 14, 2014 18:07
Show Gist options
  • Save yerffejytnac/5cd35bb6b91413000285 to your computer and use it in GitHub Desktop.
Save yerffejytnac/5cd35bb6b91413000285 to your computer and use it in GitHub Desktop.
nginx config for ember-cli
server {
listen 80;
server_name domain.name.com;
charset utf-8;
client_max_body_size 128M;
client_body_temp_path /tmp/nginx 1 2;
root /path/to/app/current;
location / {
rewrite ^ /index.html break;
}
location /assets/ {
# do nothing and let nginx handle this as usual
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment