NGINX - performance HTTP server Support Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Unofficial (YET) support forums for NGINX, a performance HTTP server.

Pages: [1]   Go Down

Author Topic: Chaining proxy_pass and xslt_transform directives  (Read 302 times)

0 Members and 1 Guest are viewing this topic.

shaner

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Chaining proxy_pass and xslt_transform directives
« on: September 22, 2009, 04:26:23 PM »
Hi,
I'm trying to set up nginx to sit as a proxy between my company's search results engine (which returns xml) and
our application server. I'm also trying to take advantage of the xslt_transform module to turn the search engine's xml
into html that can be sent directly to the client. While I have been successful in setting up nginx to run an xslt transform on a
static file, and I have been able to set up nginx to proxy requests to another server, I can't figure out how to make nginx proxy the
request and then filter the output. Here is my configuration:
location / {
     root   html;
     index  index.html index.htm;
     proxy_pass http://127.0.0.1:8080;
     xslt_stylesheet html/site/products.xslt;
}
OS: Ubuntu Linux 2.6.28-15-generic
Nginx version:nginx-0.7.62 --with-xslt_transform

Any help would be appreciated, I am (obviously) very new to nginx.
Logged
Pages: [1]   Go Up
« previous next »
 

Page created in 0.06 seconds with 20 queries.