Hi Francis,
thank you for the update
1. documentation
I've read up and down the documentation and other sources. I could
not find anything saying that if you run the nginx binary, you run a
new instance of nginx, independent of any other. Where is it
mentioned that nginx is multi inst
On 19.10.2018 06:33, HENG wrote:
Hello:
I am new to Nginx NJS, and I want to write a website with NJS.
I want to write a simple JSON database with NJS fs.writeFileSync ,just
like Node.js LowDB.
but I have no idea . Does NJS fs.writeFileSync is atomic writing and
race condition prevention
> > Is one of these approaches possible ?
>
> You can easily do something like this:
>
>rewrite ^ /foo? break;
>proxy_pass http://localhost:8080;
>proxy_set_header X-Original-URI $request_uri;
>
> This will replace the URI as seen by the upstream server to
> "/foo" without any reque