server {
  listen 443 ssl http2;
  listen [::]:443 ssl http2;
  server_name chat.hatthieves.es;
  client_max_body_size 2G;
  location / {
     proxy_pass http://172.4.0.101:1337;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header Host $host;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
     proxy_set_header X-Forwarded-Proto $scheme;
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection "Upgrade";
     proxy_buffering off;
     proxy_http_version 1.1;
     add_header Alt-Svc 'h3-25=":443"; h3-24=":443"; ma=86400, h3-23=":443"';
  }
}

