[HTTP/2] Only one cooke gets put in $_COOKIE

2015-08-19 Thread Jonny Barnes
Took me a little while to see why my php app wasn’t working. When multiple cookies are sent by the browser, only one of them is passed to php-fpm in the `$_COOKIE` variable. However it appears that all the cookies are accessible in nginx itself via the `$cookie_NAME` variables. __

Re: [HTTP/2] Only one cooke gets put in $_COOKIE

2015-08-19 Thread Jonny Barnes
This is fixed in v3, thanks On Wed, 19 Aug 2015 at 18:46 Valentin V. Bartenev wrote: > On Wednesday 19 August 2015 12:46:08 Jonny Barnes wrote: > > Took me a little while to see why my php app wasn’t working. > > > > When multiple cookies are sent by the browser, only

HTTP/2 and GZIP Compression

2015-09-12 Thread Jonny Barnes
Can (and indeed should) we use gzip compression when responding over a HTTP/2 connection to improve performance for static files? The HTTP/2 spec suggests not[1], at least when using TLS. So I was wondering if there were more knowledgeable people here than me that could weigh in with their opinion

Re: HTTP/2 and GZIP Compression

2015-09-14 Thread Jonny Barnes
Excellent, thanks for clearing that up for me :) On Sat, 12 Sep 2015 at 23:34 Valentin V. Bartenev wrote: > On Saturday 12 September 2015 20:23:14 Jonny Barnes wrote: > > Can (and indeed should) we use gzip compression when responding over a > > HTTP/2 connection to improve

HTTP/3 with multiple server blocks

2020-10-30 Thread Jonny Barnes
Can we do this? First issue is if I add the line `listen 443 http3 resueport` to more than one server {} block the nginx conf test gives the following error: > nginx: [emerg] duplicate listen options for 0.0.0.0:443 in /usr/local/nginx/conf/sites-enabled/legolas:2 > nginx: configuration file /usr

Re: HTTP/3 with multiple server blocks

2020-11-02 Thread Jonny Barnes
15'; And the second: >server { >listen 443; >listen [::]:443; > >server_name bar; > > add_header Alt-Svc '$http3=":443"; ma=15'; The nginx config test passes, but everything is served over HTTP/2. Is there something obvious I’m missing here?

Re: HTTP/3 with multiple server blocks

2020-11-02 Thread Jonny Barnes
tp3; >listen [::]:443 http3; > >listen 443; >listen [::]:443; Is this to get it to listen on both udp and tcp? On Mon, 2 Nov 2020 at 20:00, Jonny Barnes wrote: > If I understand the link correctly, I want to only set options on the > `default_server`. > > So I know h

Re: NGINX-QUIC: OPENSSL_internal:NO_SUPPORTED_VERSIONS_ENABLED

2020-12-21 Thread Jonny Barnes
I think your Alt Svc header should be pointing to port 443, not 8443 On Mon, 21 Dec 2020 at 14:41, Surinder Sund wrote: > forgot to add that this affects only http3 requests [I've tested from more > than one machine and multiple clients, including cURL and FF] > > http2 request work fine with no

Re: NGINX-QUIC: OPENSSL_internal:NO_SUPPORTED_VERSIONS_ENABLED

2020-12-22 Thread Jonny Barnes
N3/view?usp=sharing > > [image: image.png] > > Looks like no cigar for me yet. > > > > > > On Mon, Dec 21, 2020 at 10:24 PM Jonny Barnes > wrote: > >> I think your Alt Svc header should be pointing to port 443, not 8443 >> >> On Mon, 21 Dec 2020 a