Created
August 25, 2015 17:13
-
-
Save andredublin/6c028fe1aba4bf7c21dc to your computer and use it in GitHub Desktop.
Nginx configuration for angularjs
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
| server { | |
| listen 80; | |
| server_name foobar.com www.foobar.com; | |
| index index.html; | |
| root /var/www/mysite; | |
| location / { | |
| try_files $uri$args $uri$args/ index.html; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment