Skip to content
Jasper

Jasper

Just another WordPress site

  • INDEX
  • ABOUT
  • WISHLIST
  • LINKS

Tag: 正向代理

Posted on September 17, 2009

nginx架设http代理


squid透明代理已经向大家介绍过了,前两天在Libing大哥的博客逛的时候发现原来也可以用nginx来作透明代理(个人觉得叫正向代理更合理些),学习了下,又丰富了下,给大家分享一下。

server {
listen 81;
location / {
proxy_pass http://$http_host$request_uri;
}
}

Continue reading “nginx架设http代理”

Categories

  • Blogging
  • Body-Building
  • Others
  • Programming
  • Software
  • Systems&Servers
  • Web-Development

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress