>> user must be able to browse the net using something like
https://proxyserver/<uri_to_visit>.
>> the system has to work as if browser is confgured to use a proxy but I don't want to force users to configure proxy parameter.
>> I'm not an expert but I think there is a need to make a module with lua.
This cannot be done in the general case. You'll need to modify all
absolute URLs and paths (in HTML, CSS, JS, Set-Cookie headers etc.),
including those generated from within Javascript. That's equivalent to
the
https://en.wikipedia.org/wiki/Halting_problem which has been
proven to be impossible to solve.
It can be done on a limited scope, i.e. not all web sites will work
(without manual intervention), but it's not an easy task. Since all
the "interesting" sites nowadays are fundamentally javascript
applications, you'll have to assume that those won't work "out of the
box" with a simple, generic solution. It's also a potential security
problem for your users, since you'll probably miss rewriting a few
cookies and send them to places they were not intended to go, assuming
they trust your server in the first place.
rainer