Created
April 29, 2016 16:23
-
-
Save raykao/d245d10cfd3ca2a3e1650aa63d4f87e7 to your computer and use it in GitHub Desktop.
An example nginx config file for ember deployment
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 yourdomain.com; | |
root /home/yourUserAccount/yourdomain.com/dist; | |
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