Welcome! Log In Create A New Profile

Advanced

Using nginx with stunnel and wordpress

Posted by walterh 
Using nginx with stunnel and wordpress
March 07, 2012 01:59PM
Hello.

I´m using FreeBSD 9.0 and I setup two jails. In one jail I´m running nginx 1.0.13 with php-fpm and Wordpress.
In the other jail I´m running stunnel to handle SSL. stunnel handles SSL and should pass the HTTP request to the
jail running nginx.

My question is: do I need a virtual host for SSL in my nginx config? I want to be secure if I´m login or work in my
Wordpress.

It works fine if I discard the hole stunnel stuff and handle everything over nginx. But I can´t do it when I setup this
two jails.

Maybe you guys can help me out. I´m not really sure how to configure nginx here. My config looks pretty much like the one posted in http://wiki.nginx.org/Wordpress. I was inspired by this blog post: http://www.daemonology.net/blog/2009-09-28-securing-https.html
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
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