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
# this tests a critical regex used in the 'Whitelist Query Params' config in | |
# Fastly, to transform request URLs into a normalized version that strips | |
# 'traffic partner' tracking params and other noise, but leaves any valid keys | |
# that match the params we actually use. A lot hinges on the proper operation | |
# of this regex to keep hit ratio high but leave needed params intact. | |
# | |
# This version leaves trailing ? and &, which is unavoidable now but are pulled | |
# out by a simple second sweep. | |
# | |
# http://regex101.com/r/oJ2gI6/10 |
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
require "bundler/capistrano" # runs bundle:install on remote for us | |
# give cap the correct path to our custom installed rubies | |
default_environment['PATH'] = "/usr/local/ruby/bin:/usr/bin:/bin" | |
# ... rest of normal cap config |