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-unsubscr...@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to