Re: Using $upstream_response_time in add_header shows a dash

2021-02-07 Thread MarioIshac
Maxim Dounin Wrote: --- > Hello! > > On Fri, Feb 05, 2021 at 03:38:16PM -0500, MarioIshac wrote: > > > Hello all, > > > > I have this example nginx.conf: > > https://gist.github.com/MarioIshac/e6971ab0b343da210de62ebb1c6e2f99 > to > > reproduce

Re: Using $upstream_response_time in add_header shows a dash

2021-02-07 Thread Maxim Dounin
Hello! On Fri, Feb 05, 2021 at 03:38:16PM -0500, MarioIshac wrote: > Hello all, > > I have this example nginx.conf: > https://gist.github.com/MarioIshac/e6971ab0b343da210de62ebb1c6e2f99 to > reproduce the behavior. > > I start nginx and an example upstream with: > > python3 -u -m http.server 8

Using $upstream_response_time in add_header shows a dash

2021-02-05 Thread MarioIshac
Hello all, I have this example nginx.conf: https://gist.github.com/MarioIshac/e6971ab0b343da210de62ebb1c6e2f99 to reproduce the behavior. I start nginx and an example upstream with: python3 -u -m http.server 8001 > app.log 2>&1 & sudo nginx > nginx.log 2>&1 Upon hitting nginx with `curl -i loca