Fwd: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
OK, sadly I was pre-mature in my explanation and claim of success, although the trailing slash was clearly an issue. Now I can use the application fine in the open browser  which I can see did implement my changes because I can move around in the app normally. But I get too many redirects with

Re: QUIC preview `make` fails: `[objs/Makefile:1055: objs/src/event/quic/ngx_event_quic.o] Error 1`

2022-09-16 Thread Sergey Kandaurov
> On 16 Sep 2022, at 18:08, petecooper wrote: > > Hello. > I am adapting my stable Nginx compile script to road test the QUIC preview. > Per the readme, I am using `quictls`, specifically v3.0.3. I have not yet > tried BoringSSL. > > My `configure` command completes successfully, but my `make`

QUIC preview `make` fails: `[objs/Makefile:1055: objs/src/event/quic/ngx_event_quic.o] Error 1`

2022-09-16 Thread petecooper
Hello. I am adapting my stable Nginx compile script to road test the QUIC preview. Per the readme, I am using `quictls`, specifically v3.0.3. I have not yet tried BoringSSL. My `configure` command completes successfully, but my `make` command fails. I have included output below, and there is a (sa

Re: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Francis Daly
On Fri, Sep 16, 2022 at 02:03:21AM -0600, Brian Scott wrote: Hi there, > Wow that looks promising. Can't try until tomorrow because it's 2am but I'll > try first thing tomorrow. From a best practices point of view would one > solution be better than the other assuming both work? The second sugg

Re: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Scott
Wow that looks promising. Can't try until tomorrow because it's 2am but I'll try first thing tomorrow. From a best practices point of view would one solution be better than the other assuming both work? The second suggestion seems more straight-forward and avoids patches/fixes which is a good th

Re: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Francis Daly
On Fri, Sep 16, 2022 at 01:22:46AM -0600, Brian Carey wrote: Hi there, > I'm very close to getting my flask app properly reverse-proxied by nginx. If your nginx config is correct, then it might be that the upstream / backend service (the flask app, in this case) does not like being reverse-proxi

Regarding HTTP chunked Body being stored in temp_file

2022-09-16 Thread Devashi Tandon
Hi, In our module code, we are processing the HTTP request body when it is not stored in r->request_body->temp_file. When I send a 9381 bytes body, NGINX doesn't store the body in temp_file but in the internal buffers. Hence we are able to process the body. However, when I enable chunked encod

soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
Hi, I'm very close to getting my flask app properly reverse-proxied by nginx. What works: I can access and use my app successfully at http://127.0.0.1:8000. I can get to my main page at http://my.domain/app. If I specifically enter the url of a sub-directory/page I can get there, for example