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

0 Members and 1 Guest are viewing this topic.


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;
return 301$request_uri;

in .httaccess file?

I do that and get "500 Internal Server Error"

Thanks :)

I love CWP

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

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.

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

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