Created
October 14, 2014 18:07
-
-
Save yerffejytnac/5cd35bb6b91413000285 to your computer and use it in GitHub Desktop.
nginx config for ember-cli
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; | |
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