Created
September 30, 2016 20:10
-
-
Save mmubasher/bf2b36a24b011e8154aea00baca731f0 to your computer and use it in GitHub Desktop.
nginx configuration file for angular 2
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 localhost; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
try_files $uri$args $uri$args/ $uri $uri/ /index.html =404; | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment