Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rivenvirus/de04688c4d10b50cae14ae7688e859e7 to your computer and use it in GitHub Desktop.
Save rivenvirus/de04688c4d10b50cae14ae7688e859e7 to your computer and use it in GitHub Desktop.
Basic nginx configuration for AngularJS html5Mode
server {
listen 0.0.0.0:12345;
location / {
root /home/zdwolfe/src/angularAWS/app;
try_files $uri $uri/ /index.html =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment