Encrypting traffic between Nginx and App Server backend (via FastCGI)

I was wondering if it was possible to encrypt traffic between an Nginx
front end and an app server back end? I have a Django application
running and can have the traffic between the Django app and the database
encrypted using SSL and can have traffic from the internet at large and
Nginx encrypted also using SSL but I need to have the traffic between
the Nginx server and the Django app server encrypted as well. Is there a
method to accomplish this?

Thank you for any help.

On Tue, Oct 16, 2012 at 3:58 PM, Some D.
[email protected] wrote:

I was wondering if it was possible to encrypt traffic between an Nginx front
end and an app server back end? I have a Django application running and can
have the traffic between the Django app and the database encrypted using SSL
and can have traffic from the internet at large and Nginx encrypted also
using SSL but I need to have the traffic between the Nginx server and the
Django app server encrypted as well. Is there a method to accomplish this?

I know two methods

  1. nginx on django end with ssl setup
  2. stunnel or similar

On 16/10/2012 10:31, Edho A. wrote:

I know two methods

  1. nginx on django end with ssl setup
  2. stunnel or similar

stunnel looks good. Thanks.