Last active
July 12, 2023 14:59
-
-
Save cjus/b46a243ba610661a7efb to your computer and use it in GitHub Desktop.
Revisions
-
cjus revised this gist
Jul 19, 2014 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,6 @@ server { index index.html; location / { try_files $uri $uri/ /index.html; } } -
cjus created this gist
Jul 19, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ server { server_name yoursite.com; root /usr/share/html; index index.html; location / { try_files $uri $uri/ @angular; } location @angular { rewrite ^(.*)$ /index.html last; } }