Welcome! Log In Create A New Profile

Advanced

ssl accelerator

April 29, 2009 10:08AM
Hi

I m using nginx to configure ssl accelerator.Have specified the following in my configuration file to accomplish the same:

upstream dev1.magazine.com{
server dev1.magazine.com:8000;
}


server {
listen 443;
server_name 192.168.8.31;
ssl on;
ssl_certificate server.crt;
ssl_certificate_key server.key;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-FORWARDED_PROTO https;
proxy_redirect false;
if (!-f $request_filename) {
proxy_pass http://dev1.magazine.com;
}
root html;
index index.html index.htm;
}

Setting the above things in my configuration file, i have my request say https://192.168.8.31 being translated to http://dev1.magazine.com on port 8000, but the page returned is over http instead of that being https. Please help.
Subject Author Posted

ssl accelerator

lovewadhwa April 29, 2009 10:08AM

Re: ssl accelerator

lovewadhwa April 30, 2009 07:26AM

Re: ssl accelerator

Igor Sysoev April 30, 2009 08:08AM

Re: ssl accelerator

Joe Bofh April 30, 2009 06:49PM

Re: ssl accelerator

Igor Sysoev May 01, 2009 01:46AM

Re: ssl accelerator

Joe Bofh May 01, 2009 02:38AM

Re: ssl accelerator

Igor Sysoev May 01, 2009 02:43AM

Re: ssl accelerator

Joe Bofh May 01, 2009 04:15AM

Re: ssl accelerator

Igor Sysoev May 01, 2009 04:36AM

Re: ssl accelerator

Joe Bofh May 01, 2009 04:13AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready