https rewrite issue

23 views
Skip to first unread message

Antonio Pedicini

unread,
Jun 14, 2016, 12:56:14 PM6/14/16
to ngx-pagespeed-discuss

Hello, we have currently a magento store hosted on an nginx web server with page speed enabled. We're having a issue with rewrites as it seems with page speed enabled the rewrite will cause a protocol chain like https -> http -> https. We contacted the host support and they believe is a page speed bug because, when disabled, the issue doesn't occur.

Here is it a redirect test where you can see the double rewrite



> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Content-Type: text/html; charset=UTF-8
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, s-maxage=0
Pragma: no-cache
Content-Length: 0
Accept-Ranges: bytes
Date: Tue, 14 Jun 2016 16:48:32 GMT
Connection: close
Server: MageStack-MagentoOS
Strict-Transport-Security: max-age=0





> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Content-Type: text/html
Content-Length: 374
Accept-Ranges: bytes
Date: Tue, 14 Jun 2016 16:48:32 GMT
Connection: close
Server: MageStack-MagentoOS





> --------------------------------------------
> 200 OK
> --------------------------------------------

Status: 200 OK
Code: 200
Content-Type: text/html; charset=UTF-8
Vary: Accept-Encoding
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, s-maxage=0
Set-Cookie: frontend=alcm52jd6gtijd4i588fll5f16; expires=Tue, 14-Jun-2016 17:48:32 GMT; path=/; domain=www.vashi.com; HttpOnly
Pragma: no-cache
Date: Tue, 14 Jun 2016 16:48:33 GMT
Connection: close
Server: MageStack-MagentoOS
Strict-Transport-Security: max-age=0




Otto van der Schaaf

unread,
Jun 14, 2016, 1:47:04 PM6/14/16
to ngx-pagespeed-discuss
I replied to this over at the github issue you created: 
Reply all
Reply to author
Forward
0 new messages