Fix companion port 8282 for companion-apache2

in matrix an user encountered errors with the apache2 config for the companion setup, this adjusts the correct ports for the companion, like it is done in the other configs: caddy, nginx, traefik
This commit is contained in:
beautiful-orca 2025-02-03 14:42:28 +01:00 committed by GitHub
parent 9e20b3c139
commit cf61da4758
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,12 +12,12 @@
ProxyRequests off ProxyRequests off
ProxyPass / http://127.0.0.1:3000/ nocanon ProxyPass / http://127.0.0.1:3000/ nocanon
ProxyPassReverse / http://127.0.0.1:3000/ ProxyPassReverse / http://127.0.0.1:3000/
ProxyPass /latest_version http://127.0.0.1:3000/ nocanon ProxyPass /latest_version http://127.0.0.1:8282/ nocanon
ProxyPassReverse /latest_version http://127.0.0.1:3000/ ProxyPassReverse /latest_version http://127.0.0.1:8282/
ProxyPass /api/manifest/dash/id/ http://127.0.0.1:3000/ nocanon ProxyPass /api/manifest/dash/id/ http://127.0.0.1:8282/ nocanon
ProxyPassReverse /api/manifest/dash/id/ http://127.0.0.1:3000/ ProxyPassReverse /api/manifest/dash/id/ http://127.0.0.1:8282/
ProxyPass /videoplayback http://127.0.0.1:3000/ nocanon ProxyPass /videoplayback http://127.0.0.1:8282/ nocanon
ProxyPassReverse /videoplayback http://127.0.0.1:3000/ ProxyPassReverse /videoplayback http://127.0.0.1:8282/
AllowEncodedSlashes on AllowEncodedSlashes on
@ -62,12 +62,12 @@ To make the VirtualHost config below actually work, you should as well:
ProxyPass / http://127.0.0.1:3000/ nocanon ProxyPass / http://127.0.0.1:3000/ nocanon
ProxyPassReverse / http://127.0.0.1:3000/ ProxyPassReverse / http://127.0.0.1:3000/
ProxyPass /latest_version http://127.0.0.1:3000/ nocanon ProxyPass /latest_version http://127.0.0.1:8282/ nocanon
ProxyPassReverse /latest_version http://127.0.0.1:3000/ ProxyPassReverse /latest_version http://127.0.0.1:8282/
ProxyPass /api/manifest/dash/id/ http://127.0.0.1:3000/ nocanon ProxyPass /api/manifest/dash/id/ http://127.0.0.1:8282/ nocanon
ProxyPassReverse /api/manifest/dash/id/ http://127.0.0.1:3000/ ProxyPassReverse /api/manifest/dash/id/ http://127.0.0.1:8282/
ProxyPass /videoplayback http://127.0.0.1:3000/ nocanon ProxyPass /videoplayback http://127.0.0.1:8282/ nocanon
ProxyPassReverse /videoplayback http://127.0.0.1:3000/ ProxyPassReverse /videoplayback http://127.0.0.1:8282/
ProxyPreserveHost On ProxyPreserveHost On
ProxyRequests Off ProxyRequests Off
AllowEncodedSlashes On AllowEncodedSlashes On