Welcome! Log In Create A New Profile

Advanced

http3 and multi server by host name

June 07, 2023 02:44AM
Добрый день. Подскажите есть возможность настроить http3, что бы можно было
использовать одинаковые порт для всех имён. К примеру сейчас конфигурации
выглядит вот так.
server {
listen 443 ssl http2;
listen 443 quic reuseport;
http2_push_preload on;
server_name 1;
location / {
# used to advertise the availability of HTTP/3
add_header Alt-Svc 'h3=":443"; ma=86400';
try_files $uri $uri/ /index.html;
}
}
server {
listen 443 ssl http2;
listen 8443 quic reuseport;
http2_push_preload on;
server_name 2;
location / {
# used to advertise the availability of HTTP/3
add_header Alt-Svc 'h3=":8443"; ma=86400';
try_files $uri $uri/ /index.html;
}
}
Как бы сделать так что бы udp порт был один?
Спасибо.
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

http3 and multi server by host name

alnkapa@gmail.com June 07, 2023 02:44AM

Re: http3 and multi server by host name

Roman Arutyunyan June 07, 2023 03:08AM

Re: http3 and multi server by host name

nehakakar September 01, 2023 03:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
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