So I\'ve looked at every sample configuration I could find and yet every time I try and view a page that requires ssl, I end up in an redirect loop. I\'m running nginx/0.8.5
Since you have a rewrite statement found in both ssl and non-ssl sections
location /blog { rewrite ^/blog(/.*)?$ http://blog..com/$1 permanent; }
Where is the server section for blog..com?? Could that be the source of the issue?