Re: About the order of execution of the modules.

2021-03-15 Thread ADD SP
Hi there! My questions have all been resolved, thank you very much! Ø If you can't find a "here is the recipe to ensure that your module always executes in *this* position in the list" document, that might be because the product does not intend to make guarantees that that method will remain wo

Re: Works only in root..

2021-03-15 Thread Francis Daly
On Mon, Mar 15, 2021 at 07:11:54AM -0400, bubugian wrote: Hi there, there have been some mentions of QNAP on the list in the past. I'm not aware of any QNAP owner actually following up with a working recipe, though. > location /qnap{ >proxy_pass https://192.168.1.10; >} You probably wa

Re: About the order of execution of the modules.

2021-03-15 Thread Francis Daly
On Mon, Mar 15, 2021 at 06:49:44AM +, ADD SP wrote: Hi there, > > It is not clear to me that that "so" statement is true. > > I made a stupid mistake. I didn't recompile nginx and my modules when I > debugged with GDB, so I thought that "ngx_module_order" wouldn't solve my > problem, but w

Re: Works only in root..

2021-03-15 Thread bubugian
I'm trying to hide my QNAP NAS behind NGINX... without success. With more attention I discover that with server { listen 80; listen [::]:80; access_log /var/log/nginx/reverse-access.log; error_log /var/log/nginx/reverse-error.log; location /qnap{ proxy_pass https://192.168.1.10; } } wh