openideo/opencore — pull request #1 by lonetwin (2012-02-22 15:16:58+00:00)
Title: Misc updates to gateway script

* optional parameter to specify a regular expression to match the request path for which the gateway should be skipped. Defaults to '\.(js|css|png|gif|jpg|jpeg|ico)/?$'
* optional parameter to specify a list of headers along with regular expressions to match the corresponding values. If a match is found, the gateway would be skipped.
* make `domain` an optional parameter. Defaults to request.host if not specified. (This reduces config changes during deployment across multiple domains).