Install libplack-middleware-reverseproxy-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libplack-middleware-reverseproxy-perl
module supporting apps to run as a reverse proxy backend
Plack::Middleware::ReverseProxy resets some HTTP headers, which changed by reverse-proxy. You can specify the reverse proxy address and stop fake requests using 'enable_if' directive in your app.psgi.