You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A remote server has been configured to reject anything older than TLS 1.2. When viewing media (also user avatar) of that user, the image is not fetched from the remote server.
Fetching the URL of the image directly reveals a 502 error, and this appears in the nginx logs:
It seems that nginx forwards proxied requests using TLS 1.2 by default.
Possible fix
Add to /etc/nginx/conf.d/default.conf[.tpl] the proxy_ssl_protocols parameter:
location ~* ^/(media|proxy) {
# ...
# Proxy over TLS 1.3 and 1.2
proxy_ssl_protocols TLSv1.2 TLSv1.3;
}
After restarting the nginx service, the image fetches.
Version
Takahē 0.10.1
Disclaimer: my installation is non-standard and been de-Dockerized. I am also not very knowledgeable about nginx so I can't say if this breaks something else.
Edit: multiple typos
The text was updated successfully, but these errors were encountered:
It's not about TLS termination for incoming requests, it's about making outgoing TLS requests for proxied media hosted on a third-party server. Pretty sure that the Docker container's copy of nginx still does that:
Issue
A remote server has been configured to reject anything older than TLS 1.2. When viewing media (also user avatar) of that user, the image is not fetched from the remote server.
Fetching the URL of the image directly reveals a 502 error, and this appears in the nginx logs:
Possible cause
It seems that nginx forwards proxied requests using TLS 1.2 by default.
Possible fix
Add to /etc/nginx/conf.d/default.conf[.tpl] the
proxy_ssl_protocols
parameter:After restarting the nginx service, the image fetches.
Version
Takahē 0.10.1
Disclaimer: my installation is non-standard and been de-Dockerized. I am also not very knowledgeable about nginx so I can't say if this breaks something else.
Edit: multiple typos
The text was updated successfully, but these errors were encountered: