Ticket #289: nginx_piebbs.conf
| File nginx_piebbs.conf, 449 bytes (added by zhangzhuojian, 12 years ago) |
|---|
| Line | |
|---|---|
| 1 | server { |
| 2 | #ŸÛ³¬Öµ°æ¿éÓòÃûÌø×ª |
| 3 | rewrite ^/forum-22.html http://best.pconline.com.cn/bbs/ permanent; |
| 4 | |
| 5 | location ~ ^/forum-best.html { |
| 6 | rewrite /forum-best.html /forum.do?fid=22; break; |
| 7 | proxy_pass http://WEB_APP; |
| 8 | proxy_redirect off; |
| 9 | proxy_set_header Host $host; |
| 10 | proxy_set_header X-Real-IP $remote_addr; |
| 11 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 12 | } |
| 13 | } # end of server |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)