docker-compose-configs/invidious/http3-proxy/nginx-unix.conf
2024-09-03 23:02:49 -04:00

21 lines
484 B
Text

user www-data;
events {
worker_connections 1024;
}
http {
server {
listen unix:/tmp/socket.sock;
access_log off;
error_log /var/log/nginx/error.log;
location / {
resolver 127.0.0.11;
set $backend "http3-proxy";
proxy_buffering off;
proxy_pass http://$backend:8080;
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
}
}
}