![]() |
Add header when proxing
Hi,
I'm using litespeed-2.1.16 to proxy requests to backend web server (Ruby on Rails with Mongrel). When using HTTPS I need to add a special header to the request, so the backend server will understand that the initial request is over HTTPS. For example with pound reverse proxy (see http://mongrel.rubyforge.org/docs/pound.html ): Code:
AddHeader "X-Forwarded-Proto: https"Code:
RequestHeader set X_FORWARDED_PROTO 'https' |
That header will be added automatically by LSWS 2.1.17. The new release will be announced soon. Actaully, you can downalod it now.
|
Quote:
Code:
# app/controller/application.rb |
| All times are GMT -7. The time now is 08:09 PM. |