Created
September 14, 2017 07:37
-
-
Save tidalgo22/0ab2a5d1a3b7a337a5cdcdc032cb821a to your computer and use it in GitHub Desktop.
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
~ -tilde instructs nginx to perform a case-sensitive regular expression match, instead of a straight string comparison. | |
^ -matches the beginning of the input. For example, ^/photos/.*$ would match paths beginning in '/photos/'. By itself, ^ is a shortcut for all paths (since they all have a beginning). | |
* -matches all strings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment