determining the url of a request
Jeff Kaufman
jefftk at google.com
Wed Oct 17 19:13:53 UTC 2012
On Wed, Oct 17, 2012 at 5:02 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> You may want to use r->headers_in.server though ...
> You may want to look at ngx_http_variable_host() ...
I have this working now [1], thanks! The pointer to
ngx_http_variables.c was helpful.
Jeff
[1] https://github.com/pagespeed/ngx_pagespeed/compare/3548b9ffde088bf7545a066d4c576d9255b11857...3d787d353fda538aee1b97a27a836424e9b625dd
More information about the nginx-devel
mailing list