Some ideas first of all check your 22222 config file, it might got the default_server in the servername line, i normaly remove that part just to be sure.
Your config is very messy to be honest, ill try and post what i got in my config.
server {
listen 443;
ssl on;
ssl_certificate /var/www/cert/domain_combined.crt;
ssl_certificate_key /var/www/cert/domain_com1.key;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
server_name domain.com www.domain.com;
access_log /var/log/nginx/domain.com.access.log rt_cache;
error_log /var/log/nginx/domain.com.error.log;
root /var/www/domain.com/htdocs;
index index.php index.htm index.html;
include common/w3tc.conf;
include common/wpcommon.conf;
include common/locations.conf;
}
This is what i got that works
server {
listen 443 ssl spdy;
server_name mydomain.com;
ssl_certificate /var/www/mydomain.com/cert/bundle.crt;
ssl_certificate_key /var/www/mydomain.com/cert/ssl.key;
access_log /var/log/nginx/mydomain.com.access.log rt_cache;
error_log /var/log/nginx/mydomain.com.error.log;
root /var/www/mydomain.com/htdocs/;
index index.php index.html index.htm;
include common/wpfc.conf;
include common/wpcommon.conf;
include common/locations.conf;
}
Some points to your config remove the ssl_* lines there is no reason they are in ee config files for, remove www.domain.com, this is not any thing you use any more do a cname in your dns that points www.domain.com to domain.com way better practise to use now adays.
Remove the line ssl on; since that part should be defined in the listen line like the above post i did.