Livebook Hosting

Um Elixir Livebook hinter einem NGINX proxy zu betreiben, muss die HTTP Version ausdrücklich konfiguriert werden, wie in diesem location Block (siehe den proxy_http_version Parameter):

location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_http_version 1.1;
    proxy_pass http://livebook:8090/;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}