Created
January 8, 2019 16:44
-
-
Save tieppt/8f56e4de84976c27647afdccb537baea to your computer and use it in GitHub Desktop.
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 http://abc.com; | |
root /path/to/your/app; | |
# eg. root /var/www/html/abc-app/dist | |
index index.html index.htm; | |
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