I have a problem with setting Wordpress Mulitisite subdirectory with Redis. I want to take advantage of the SSL certificate. I set:
server {
listen 80;
server_name mydomain.com www.mydomain.com;
rewrite ^/(.*) https://mydomain.com/$1 permanent;
}
server {
listen 443 ssl;
server_name mydomain.com;
ssl_certificate /../SSL.crt;
ssl_certificate_key /../mydomain.com.key;
access_log /var/log/nginx/mydomain.com.access.log rt_cache_redis;
error_log /var/log/nginx/mydomain.com.error.log;
root /var/www/mydomain.com/htdocs;
index index.php index.html index.htm;
include common/redis.conf;
include common/wpsubdir.conf;
include common/wpcommon.conf;
include common/locations.conf;
include /var/www/mydomain.com/conf/nginx/*.conf;
}
Everything is ok, websites are working properly, both backend and frontend like. However, when activated Redis (using a plugin), I was logged out. Re-logging is impossible (the password is correct).
Does anyone have any idea?