Re: [users@httpd] Proxy both HTTP, and WebSocket traffic to UNIX socket

2023-01-04 Thread Jan Kohnert
Am Mittwoch, 28. Dezember 2022, 11:53:58 CET schrieb Jan Kohnert: > The config reads as: > > --- > RequestHeader add X-Forwarded-Ssl on > RequestHeader set X-Forwarded-Proto "https" >

Re: [users@httpd] Proxy both HTTP, and WebSocket traffic to UNIX socket

2022-12-28 Thread Jan Kohnert
Am Dienstag, 27. Dezember 2022, 22:47:53 CET schrieb Florian Schwalm: > > Reading through the report, this bug probably hit me, too. GitLab is a > > Ruby-on-rails application using a Puma Webserver internally, connected to > > Apache all over UNIX-sockets; this cable-stuff mentioned in the report i

Re: [users@httpd] Proxy both HTTP, and WebSocket traffic to UNIX socket

2022-12-27 Thread Jan Kohnert
Am Dienstag, 27. Dezember 2022, 20:32:28 CET schrieb Florian Schwalm: > As far as I understand Gitlab sends a HTTP GET request first to ask the > backend to upgrade to websockets. By always proxying /-/cable to ws right > away you prevent that first upgrade request from succeeding which is > probab

Re: [users@httpd] Proxy both HTTP, and WebSocket traffic to UNIX socket

2022-12-27 Thread Jan Kohnert
Hi, Am Sonntag, 25. Dezember 2022, 10:56:07 CET schrieb Florian Schwalm: > Specifying ws instead of http in the RewriteRule should be good. thanks for the reply! I did that, that's how I got the log error. At first, the wstunnel-module was not installed; but installing (and loading) it did not

[users@httpd] Proxy both HTTP, and WebSocket traffic to UNIX socket

2022-12-22 Thread Jan Kohnert
Hello everyone, I've set up a GitLab instance running behind an Apache HTTP-Server acting a proxy. GitLab officially only supports NGINX as a proxy, but since my Apache also serves different VirtualHosts, I'd rather keep the setup I have instead of setting up another WebServer. According to [1