I seem to be really bad at sending email, since I sent this same email this morning to the list and yet it seems it got lost. Trying again, this time from mutt.
See https://tilde.club/~cosarara/flask/ for a proof of concept using https://github.com/michaelfranzl/no.php as a reverse proxy.
I saved no.php as index.php and edited it to the following config:
$backend_url = "http://localhost:4455/"; $backend_info = parse_url($backend_url); $host = $_SERVER['HTTP_HOST']; $request_uri = $_SERVER['REQUEST_URI']; $uri_rel = "~cosarara/flask/"; # URI to this file relative to public_html $request_includes_nophp_uri = false;
And ran flask with --port=4455, of course.
Happy hacking, ~cosarara