Control Web Panel
WebPanel => SSL => Topic started by: yeknafar on July 23, 2018, 05:59:25 PM
-
Hello
My server is nginx+Varnish+Apache. If I want to have SSL on my wordpress site do I have to use this code:
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 :)
-
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
-
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.