You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by "Lofesa (via GitHub)" <gi...@apache.org> on 2023/04/01 11:54:52 UTC
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1765: data-pagespeed-lsc-url
Lofesa commented on issue #1765:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1765#issuecomment-1492948581
Have you enabled the rewrite domain?
Because it seems your proxy send the request to the 80 port, some like
user ->https-> nginx -> http -> backend-server
So maybe you need 2 things:
1.- A header X-Forwarded-Proto to instruct the backend server the client is using the https protocol
2.- A pagespeed directive to rewrite the domain mydomain.com:80 to mydomain.com in the response html code
In other hand, maybe you need to set the X-Forwarded-for to pass the client ip to the backend, because if you have any security measure like fail2-ban, maybe you are banning the proxy ip and not the user ip.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org