Can nginx process the backend data before returning it?

location /version {
    proxy_pass http://xxx.com/version;
}
the backend xxx.com/version returns a string. I want nginx to receive this string first and then return it to the client. Can it be implemented?
Mar.20,2021

of course, and there are many ways to see how you want to deal with it.

  1. extends with lua, refer to https://github.com/openresty/.
  2. implements a proxy server on its own, docking nginx with the upstream proxy server.
  3. develop the nginx module.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39ca2-2c1ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39ca2-2c1ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?