運行Ubuntu LTS 14.04 nginx的1.4.6nginx的 - 隱藏的代理服務器主機+端口+路徑
我有一個互聯網無線站,人們可以聽/直接從winterradio.com(例)流,並得到了下一個在nginx的我的虛擬主機winterradio.com配置:
server {
server_tokens off;
listen 80;
server_name winterradio.com;
location/{
proxy_pass http://radiohost.com:1972/radio
}
}
我的問題是:我怎麼能隱藏誰連接這樣的人proxy_pass網址+端口+文件夾(掛載點),他們只看到http://winterradio.com insteed的http://radiohost.com:1972/radio? 我增加了未來2行:
server_name_in_redirect off;
proxy_set_header Host $host:$server_port
這確實的allmost的伎倆,但並不能掩蓋的最後一部分從代理地址/收音機,我無法找到答案的地方周圍。 這可能嗎?我可以隱藏瀏覽器/ radiooplayers的完整代理地址嗎?
有人可以幫我嗎?我被困住了! – iRai