yurymuski / nginx-http3 Goto Github PK
View Code? Open in Web Editor NEWNginx docker image compiled with BoringSSL and quiche for HTTP3 support + Brotli compression
Home Page: https://http3.yurets.pro/
License: MIT License
Nginx docker image compiled with BoringSSL and quiche for HTTP3 support + Brotli compression
Home Page: https://http3.yurets.pro/
License: MIT License
2021/05/07 11:53:27 [emerg] 1#1: unknown "quic" variable
nginx: [emerg] unknown "quic" variable
2021/05/07 11:55:27 [emerg] 1#1: unknown "quic" variable
nginx: [emerg] unknown "quic" variable
2021/05/07 11:57:30 [emerg] 1#1: unknown "quic" variable
nginx: [emerg] unknown "quic" variable
I have some problems QUIC doesn't seem working on this website https://www.udempharma.com
docker run --name nginx -d -p 80:80 -p 443:443 -v /etc/letsencrypt:/etc/letsencrypt -v /docker/nginx/nginx.conf:/etc/nginx/nginx.conf -v /docker/nginx/conf.d:/etc/nginx/conf.d -v /var/www:/var/www -v /docker/nginx/ssl/dhparam.pem:/etc/nginx/ssl/dhparam.pem -v phpmyadmin_data:/var/www/html ymuski/nginx-quic
Virtual host directive enabled
` # Enable QUIC and HTTP/3.
listen 443 quic reuseport;
# Enable HTTP/2 (optional).
listen 443 ssl http2;
ssl_certificate /etc/letsencrypt/live/udempharma.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/udempharma.com/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/udempharma.com/chain.pem;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 5m;
# Enable all TLS versions (TLSv1.3 is required for QUIC).
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
# Add Alt-Svc header to negotiate HTTP/3.
#add_header alt-svc 'h3=":443"; ma=86400';
add_header alt-svc 'h3-28=":443"; ma=86400';
add_header X-Cache $upstream_cache_status;
`
Nginx correctly running, firewall is disabled
https://www.http3check.net/?host=https%3A%2F%2Fwww.udempharma.com%2F
Server does not advertise supported HTTP/3 or QUIC version on the same port.
`docker run -it --rm ymuski/curl-http3 curl -ILv https://www.udempharma.com --http3
Hi, I read the post https://medium.com/faun/implementing-http3-quic-nginx-99094d3e39f. And I follow the instructions given in the post. Everything goes smoothly except that when I run the docker image, the container exits due to the error "nginx: [emerg] unknown "quic" variable". Can you help me to solve the problem? Thanks a lot!
https://github.com/linuxserver/docker-swag
I use this, as it has everything preconfigured for the docker containers. Could you fork this w/ http3 + http2/1.1 support? It's extremely popular and using your container as a drop in replacement would be great. They even setup a DNS TLS challenge acme recurring thing.
Hi!
Very handy to have prepatched nginx.
But it's still 1.16 like Cloudflare.
For my enlignthenment : What stops from porting to latest nginx ? (I know the patch is >5K lines...)
Regards
Hi there, this does serve content on http3, but is not end to end http3. DO you know about anything experimental or usable that allows for proxy to http3?
something like:
location / {
proxy_pass https://example.com;
(...)
proxy_http_version 3;
(..)
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.