Welcome! Log In Create A New Profile

Advanced

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi
October 10, 2020 10:50AM
Hi

I have placed http3 now.

server {
listen 443 ssl; # TCP listener for HTTP/1.1
listen 443 http3 reuseport; # UDP listener for QUIC+HTTP/3

ssl_protocols TLSv1.3; # QUIC requires TLS 1.3
ssl_certificate ssl/www.example.com.crt;
ssl_certificate_key ssl/www.example.com.key;

add_header Alt-Svc 'quic=":443"'; # Advertise that QUIC is available
add_header QUIC-Status $quic; # Sent when QUIC was used

}

And it has the same error.
2020/10/10 14:45:24 [emerg] 25485#25485: invalid parameter "http3" in
/etc/nginx/conf.d/default.conf:3


On Sat, Oct 10, 2020 at 3:27 PM Manuel <manuel.baesler@gmail.com> wrote:

> Hi,
>
> the error message invalid parameter http3 doesn’t correspond with your
> config "listen 443 http/3" so ether nginx removes these / while printing
> the error message or it’s really wrong. But the official documentation says
>
>
> https://www.nginx.com/blog/introducing-technology-preview-nginx-support-for-quic-http-3/
>
> server {
> listen 443 ssl; # TCP listener for HTTP/1.1
>
> listen 443 http3 reuseport; # UDP listener for QUIC+HTTP/3
>
> Then your config is wrong.
>
> Where did you got the http/3 parameter?
>
> Best,
>
> Manuel
>
>
>
> Am 10.10.2020 um 11:20 schrieb HARISH KUMAR Ivaturi <
> harishkumarivaturi@gmail.com>:
>
> Hi
> This is my nginx configuration file.
> /etc/nginx/conf.d$ sudo nano default.conf
> server {
> listen 443 ssl;
> listen 443 http/3 reuseport;
> server_name localhost;
>
> ssl_certificate cert.crt;
> ssl_certificate_key cert.key;
> # Enable all TLS versions (TLSv1.3 is required for QUIC).
> ssl_protocols TLSv1.3;
>
> # Add Alt-Svc header to negotiate HTTP/3.
> add_header Alt-Svc 'quic=":443"';
> add_header QUIC-Status $quic;
>
>
> #charset koi8-r;
> #access_log /var/log/nginx/host.access.log main;
>
> location / {
> root /usr/share/nginx/html;
> index index.html index.htm;
> }
>
> #error_page 404 /404.html;
>
> # redirect server error pages to the static page /50x.html
> #
> error_page 500 502 503 504 /50x.html;
> location = /50x.html {
> root /usr/share/nginx/html;
> }
>
>
> After this i run
> sudo service nginx restart
> and it says Job for nginx.service failed because the control process
> exited with error code.
> See "systemctl status nginx.service" and "journalctl -xe" for details.
> Okk then i check in systemctl status nginx.service and the error displayed
> is
>
> 2020/10/10 11:18:01 [emerg] 17014#17014: invalid parameter "http3" in
> /etc/nginx/conf.d/default.conf:3
>
> Later i have replaced with quic in default.conf and again the same error
> 2020/10/10 11:15:47 [emerg] 16898#16898: invalid parameter "quic" in
> /etc/nginx/conf.d/default.conf:3
>
> I request you to help me with the configuration file i.e. default.conf .
> I need web response of http/3 request by running curl commands
> curl -k --http3 -v "https://127.0.0.1:443"
>
> BR
> Harish Kumar
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx QUIC configuration file

HARISH KUMAR Ivaturi 2671 October 10, 2020 07:22AM

Re: Nginx QUIC configuration file

Manuel 1270 October 10, 2020 09:28AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 492 October 10, 2020 10:50AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 416 October 10, 2020 10:58AM

Re: Nginx QUIC configuration file

Maxim Konovalov 374 October 10, 2020 11:02AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 300 October 10, 2020 11:06AM

Re: Nginx QUIC configuration file

Manuel 275 October 10, 2020 11:20AM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 273 October 10, 2020 11:24AM

Re: Nginx QUIC configuration file

Manuel 406 October 11, 2020 07:08PM

Re: Nginx QUIC configuration file

HARISH KUMAR Ivaturi 522 October 11, 2020 07:18PM

Re: Nginx QUIC configuration file

Manuel 445 October 12, 2020 02:04AM

Re: Nginx QUIC configuration file

Manuel 329 October 10, 2020 11:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready