LoginSignup
1
1

More than 5 years have passed since last update.

mod_pagespeedをhttpsで使う

Posted at

Googleのmod_pagespeedを入れてみました。
https://developers.google.com/speed/pagespeed/mod

静的な要素が多いページは体感値がかなり速くなりました。

しかし、httpsのページではCSS等が上手く読み込まれていなくて、どうしようかなと思っていた所、以下の設定をすることで解決しました。

pagespeed.conf
 ModPagespeedRespectXForwardedProto on

ちなみに、環境はロードバランサーの後ろでアプリケーション・サーバーを動かしています。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1