Nginx configuration leads to endless redirect loop

前端 未结 9 1410
独厮守ぢ
独厮守ぢ 2020-12-01 04:18

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

9条回答
  •  庸人自扰
    2020-12-01 04:57

    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?

提交回复
热议问题