Many years ago I used mod_pagespeed together with Apache as a "foward proxy" to significantly improve my mobile "web experience". I wanted to try it out this week but faced an issue - nowadays a big part of web is behind HTTPS. This is perfect, but completely breaks my use-case. I need the proxy to modify the traffic. I trust my own proxy, so how do I tell Firefox not to "CONNECT" to remote https servers and trust the proxy to do the TLS validation instead?
BTW I know about https://mitmproxy.org/ but I do not really care about "interactive". I just need something I can integrate with mod_pagespeed. Solution for Nginx would be desired, but searching Google for "Nginx proxy tls" is all about reverse proxy setup, not what I need...
Some more research and https://github.com/igrigorik/node-spdyproxy looked promising, but it also only uses CONNECT and it's "tunneling SSL over SSL"... The search continues. I've downloaded Firefox source and looking at the "netwerk" library.
Invite-only self-hosted Mastodon instance.