Last active
February 10, 2017 20:07
-
-
Save jackboberg/473284e3da64ade613ae48035c7954c4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# ./sites-enabled/config | |
server { | |
listen 8080; | |
server_name helloxervo-96020.app.xervo.io; | |
root /mnt/app/build; | |
index index.html index.htm; | |
# single page app routing | |
location /.+\..+ { | |
try_files $uri $uri/ =404; | |
} | |
location / { | |
try_files $uri /index.html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment