Skip to content

Instantly share code, notes, and snippets.

@stephenjudkins
Created June 3, 2009 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenjudkins/123125 to your computer and use it in GitHub Desktop.
Save stephenjudkins/123125 to your computer and use it in GitHub Desktop.
location /Special/graphic_protection {
proxy_intercept_errors on;
rewrite ^/Special/graphic_protection/(.*)$ /$1 break;
proxy_pass http://au-graphic-protection.s3.amazonaws.com;
error_page 404 = $uri;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment