Skip to content

Commit

Permalink
Add a couple more temporary jquery.scrollmagic redirects.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed Mar 16, 2015
1 parent ae9a899 commit f0d857c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/etc/rawgit.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ server {

location ^~ /epicroster/ { return 403; }
location ^~ /jesscold/pornifier2/ { return 403; }

# To be removed in September 2015:
rewrite ^/janpaepke/ScrollMagic/master/js/jquery.scrollmagic.js$ $scheme://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/1.3.0/jquery.scrollmagic.js permanent;
rewrite ^/janpaepke/ScrollMagic/master/js/jquery.scrollmagic.debug.js$ $scheme://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/1.3.0/jquery.scrollmagic.debug.js permanent;
rewrite ^/janpaepke/ScrollMagic/master/js/jquery.scrollmagic.min.js$ $scheme://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/1.3.0/jquery.scrollmagic.min.js permanent;

location ~ /.+?/.+?/.+ {
gzip_vary off; # Vary header is set by Node.
Expand Down

0 comments on commit f0d857c

Please sign in to comment.