Re: 2 x Applications using the same domain behind a reverse proxy

2022-07-18 Thread Ian Hobson
Hi Mik, I think the problem is that your back end cannot distinguish app1 from app2. I don't think there is a need for proxy-pass, unless it is to spread the load. I would try the following approach: Change the root within location / and location /app2 and serve static files directly. When

Re: Question about rotating log files with USR1 signal

2022-07-18 Thread Maxim Dounin
Hello! On Mon, Jul 18, 2022 at 01:37:47PM -0300, Fabiano Furtado Pessoa Coelho wrote: > As described in the official documentation > http://nginx.org/en/docs/control.html#logs "The master process will > then re-open all currently open log files and assign them an > unprivileged user under which t

Question about rotating log files with USR1 signal

2022-07-18 Thread Fabiano Furtado Pessoa Coelho
Hi... As described in the official documentation http://nginx.org/en/docs/control.html#logs "The master process will then re-open all currently open log files and assign them an unprivileged user under which the worker processes are running, as an owner.", the owner of the log file changes after t