question about addition filter

Mohammad Kolahdouzan mohammad_ysm at yahoo.com
Wed Jan 28 22:21:35 MSK 2009


Is it possible to have a configuration similar to the following:

        location /x {
            proxy_pass http://www.yahoo.com;
        }

        location /y {
            add_before_body /x;
            add_after_body  http://www.google.com;
        }

which would supposedly add the content of the www.yahoo.com and www.google.com before and after the content of the page at /y/index.html? The addition filter module states that the texts after add_before_body and add_after_body are URI, but the above config doesn't seem to be doing it!

Thanks,
-M


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090128/542aa6b2/attachment.html>


More information about the nginx mailing list