in reply to Re^3: PSGI, Plack et.al.
in thread PSGI, Plack et.al.

Q: How to detect reverse proxy and SSL frontend · plack/Plack Wiki · GitHub

A: use Plack::Middleware::ReverseProxy