I really can’t figure this one out and I can’t recreate the issue, I’m wondering if it could have something to do with the new redis caching. But someone trying to access my website just typing in ryansmithphotography.com without the https:// got the default nginx setup page. All test that I do show that it should redirect properly to https://www.ryansmithphotography.com, and once the user typed in the https it worked fine. Does anyone have an idea what might cause this issue even though as far as I can tell everything works perfectly. Here is my nginx config.
server {
listen 443 ssl spdy;
server_name ryansmithphotography.com www.ryansmithphotography.com;
ssl on;
ssl_certificate /var/www/ryansmithphotography.com/cert/ryansmithphotography.com.crt;
ssl_certificate_key /var/www/ryansmithphotography.com/cert/ryansmithphotography.com.key;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
access_log /var/log/nginx/ryansmithphotography.com.access.log rt_cache_redis;
error_log /var/log/nginx/ryansmithphotography.com.error.log;
root /var/www/ryansmithphotography.com/htdocs;
index index.php index.html index.htm;
subs_filter https://www.ryansmithphotography.com/wp-content/uploads https://cdn.ryansmithphotography.com/$
include common/redis.conf;
include common/wpcommon.conf;
include common/locations.conf;
include /var/www/ryansmithphotography.com/conf/nginx/*.conf;
}
server {
listen 80;
server_name ryansmithphotography.com;
return 301 https://www.ryansmithphotography.com$request_uri;
}