我现在为下列问题奋斗了很长时间:
[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我试过很多次来解决这个问题,但没有任何帮助。在这种情况下,我自己托管并做了一个“让我们加密证书”。
下面是这个服务的Apache站点Config:
<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>我已经做了:
SSLProxyEngine设置为Off,只使用ProxyAddHeaders On和RequestHeader set X-Forwarded-Proto "https"。Include /etc/letsencrypt/options-ssl-apache.conf置于SSLProxyEngine之上。ProxyPass和ProxyPassReverse的http后面添加了S,但在出错后获得了:[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)问题是,https://docs.piped.video/docs/self-hosting/上只有Caddy或nginx配置片段,没有为apache找到任何配置片段。管道处理这个错误几乎没有问题(不能导入列表),但是如果可能的话,我将删除这个错误以获得一个正确的配置/日志。
有什么想法吗?
发布于 2023-04-27 18:38:25
我问了一个人的提示,现在找到了解决办法。
只需通过mod_gnutls禁用a2dismod gnutls并更新所有--让我们加密证书。然后它就不见了!
对于如此庞大的用户社区来说,这实在是太弱了,以至于没有人想出这样的想法。为什么要从搜索引擎的结果中挑选一个特定的人最好的解决方案?!
但至少有一个人想帮我,这是光荣的!
https://serverfault.com/questions/1128329
复制相似问题