Welcome! Log In Create A New Profile


Problem on proxy_pass the feedburner via nginx

February 19, 2012 03:41AM
Hi guys, this is my first post in this forum.

I want to use nginx to self host my feedburner page so as to make it possible to anyone who can access my VPS.
But something is wrong as it shows nothing rather than the same as my feedburner page.

The problem seems to be that there is a relative path link in the page, one shown as follows:
"<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?>"

the file path should be "http://feeds.feedburner.com/~d/styles/rss2full.xsl"
but the browser locate at "http://feeds.huxuan.org/~d/styles/rss2full.xsl"

I have try to solve the problem by referring the wiki and google but didn't got it.
Thx for any help or suggestion

my configuration is:

listen 80;
server_name feeds.huxuan.org;
access_log /home/huxuan/.log/www/feeds.huxuan.org.access.log;
error_log /home/huxuan/.log/www/feeds.huxuan.org.error.log;

location /
proxy_pass http://feeds.feedburner.com;
proxy_set_header Host feeds.feedburner.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
rewrite ^(.*)$ /huxuan$1 break;
Subject Author Posted

Problem on proxy_pass the feedburner via nginx

huxuan February 19, 2012 03:41AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready