Created
May 9, 2013 06:01
-
-
Save relax-more/5545831 to your computer and use it in GitHub Desktop.
[nginx] locationディレクティブの優先順位に関して
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
locationの適用順は… | |
修飾子=、完全一致 | |
修飾子なし、完全一致 | |
修飾子^~、前方一致 | |
修飾子~ or ~* 正規表現マッチ | |
修飾子なし、前方一致 | |
URIのパラメータ(?以降)はlocation適用順に影響しない。 | |
参照:http://paulownia.hatenablog.com/entry/20111117/1321531964 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment