pagespeed port number

4 views
Skip to first unread message

Scott Mead

unread,
Jul 11, 2017, 5:49:00 PM7/11/17
to mod-pagespeed-discuss
I'm running pagespeed behind an ELB.  I've got the respect X-Forwarded working and the protocol is correct, however, mod_pagespeed is appending a port number to it's URLs (apache is not running on the same port as the ELB is listening on).  Is there any way to modify pagespeed to not add the port number?

Thanks!

Otto van der Schaaf

unread,
Jul 11, 2017, 6:20:35 PM7/11/17
to mod-pagespeed-discuss
You could try eliminating the port from the rewritten urls by using MapRewriteDomain:
(mod_pagespeed does not support X-Forwarded-Port)

Otto

On Tue, Jul 11, 2017 at 11:49 PM Scott Mead <sco...@openscg.com> wrote:
I'm running pagespeed behind an ELB.  I've got the respect X-Forwarded working and the protocol is correct, however, mod_pagespeed is appending a port number to it's URLs (apache is not running on the same port as the ELB is listening on).  Is there any way to modify pagespeed to not add the port number?

Thanks!

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/81594141-c9d3-4909-9af8-17e7e288f914%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages