1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-01-17 17:44:44 +02:00
Curious a4c3bedf4b
Fix "SSL_do_handshake() failed" in nginx reverse-proxy
In nginx reverse-proxy, when the upstream server relies on SNI, the reverser-proxy may return 502 by follow error:
```
*10 SSL_do_handshake() failed (SSL: error:0A000410:SSL routines::sslv3 alert handshake failure:SSL alert number 40) while SSL handshaking to upstream, client: 172.19.0.1, server: example.host, request: "GET /.well-known/matrix/client HTTP/2.0", upstream: "https://<ip>/.well-known/matrix/client", host: "<domain>"
```
This problem often arises when the upstream server is behind the CDN, setting `proxy_ssl_server_name` to `on` will solve it.
2023-12-22 07:44:34 +08:00
..
2023-08-31 13:42:40 +03:00
2023-04-03 08:53:46 +03:00
2023-06-20 16:32:50 +02:00
2023-03-15 14:14:35 +02:00
2023-01-11 15:12:05 +02:00
2021-01-21 12:55:17 +02:00
2023-01-11 15:12:05 +02:00