Author Topic: What should I do to have SSL on Wordpress with Nginx+ Apache+Varnish webserver?  (Read 273 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Hello

My server is nginx+Varnish+Apache. If I want to have SSL on my wordpress site do I have to use this code:
 

Code: [Select]

 server {
listen 80;
server_name example.com www.example.com;
return 301 https://plugin.salamzaban.com$request_uri;
}



in .httaccess file?

I do that and get "500 Internal Server Error"

 
Thanks :)

I love CWP

Offline
****
You dont need to add anything. Leave everything default and everything will work fine.

Offline
*
you can edit your wordpress configuration from wp-admin and change url from http to https as the simplest option
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
**
I did but no result. I could not have force SSL but then I removed the Varnish now I do not have any problem with SSl.
I love CWP