How to use mod_pagespeed with Nginx as a reverse proxy

376 views
Skip to first unread message

Felinto

unread,
Jan 1, 2019, 1:54:14 AM1/1/19
to mod-pagespeed-discuss
I'm having problems with the Nginx cache. What happens is that mod_pagespeed updates the cached version, but the nginx microcache leaves page saved for a certain time with links of jpg images, png and invalid css resources generating 404 errors.

This is not something that has pleased me a lot, considering that at first it seems something simple to solve but I did not find anything in the documentation.

My Apache is running on port 8080. How do I make mod_pagespeed while running always look at the HTML that is on port 8080 where Apache is installed?

Longinos

unread,
Jan 1, 2019, 7:27:09 AM1/1/19
to mod-pagespeed-discuss
Hi
Perhaps you need to configure nginx as a downstream cache as stated here
Reply all
Reply to author
Forward
0 new messages