I'm struggle now for a longer time with the following issue:
[gnutls:error] [pid 1878860] [remote 127.0.0.1:8282] ssl_engine_set: mod_proxy requested TLS proxy, but not enabled for piped.[CENSORED].de:443
I tried a lot to fix this but nothing helped. In this case I host Piped by myself and did a Let's Encrypt Certificate.
Here's the Apache Site Config of this service:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName piped.[CENSORED].de
ServerAlias pipedapi.[CENSORED].de pipedproxy.[CENSORED].de
ServerAdmin netzmeister@[CENSORED].de
Protocols h2 h2c http/1.1
SSLProxyEngine On
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8282/
ProxyPassReverse / http://127.0.0.1:8282/
ProxyRequests Off
ProxyAddHeaders On
RequestHeader set X-Forwarded-Proto "https"
<LocationMatch "^/(/videoplayback|/api/v4/|/api/manifest/)">
Header always set Cache-Control "private"
Require all granted
</LocationMatch>
<Location "/">
Header always set Cache-Control "public, max-age=604800"
Require all granted
</Location>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/pipedapi.[CENSORED].de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pipedapi.[CENSORED].de/privkey.pem
</VirtualHost>
</IfModule>
I did already:
- Set
SSLProxyEngine
to Off
and just used ProxyAddHeaders On
and RequestHeader set X-Forwarded-Proto "https"
.
- Placed
Include /etc/letsencrypt/options-ssl-apache.conf
above SSLProxyEngine
.
- Added an s behind http at
ProxyPass
and ProxyPassReverse
but got after an error:
[Sun Apr 09 19:15:35.915182 2023] [gnutls:error] [pid 1881378] [remote 127.0.0.1:8282] ssl_engine_set: mod_proxy requested TLS proxy, but not enabled for piped.[CENSORED].de:443
943 [Sun Apr 09 19:15:35.915210 2023] [core:error] [pid 1881378] [remote 127.0.0.1:8282] AH01961: failed to enable ssl support [Hint: if using mod_ssl, see SSLProxyEngine]
944 [Sun Apr 09 19:15:35.915229 2023] [proxy:error] [pid 1881378] AH00961: https: failed to enable ssl support for 127.0.0.1:8282 (127.0.0.1)
The problem is only Caddy or nginx config snippets are on https://docs.piped.video/docs/self-hosting/ and didn't found any for apache. Piped will work almost fine (can't import lists) with this error but if it's possible I will kill this error to have a proper config/log.
Any ideas?