-
-
Save jimitit/fc76bfffa51232d12c5c to your computer and use it in GitHub Desktop.
Angular + Nginx Configuration
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
This a dirty solution, but worked for me. | |
Sacrifice my 404 page, but fix the main problem. | |
server { | |
listen 0.0.0.0:12345; | |
location / { | |
root /home/zdwolfe/src/angularAWS/app; | |
try_files $uri $uri/ /index.html =404; | |
} | |
error_page 404 /index.html | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment