Created
April 27, 2012 03:14
-
-
Save jdorfman/2505372 to your computer and use it in GitHub Desktop.
Nginx vhosts RegEx
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
# place this in a nginx vhosts && service nginx reload | |
location ~ ^/path/to/files/img.*\.jpg$ { | |
alias /usr/local/nginx/html/suspend.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment