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
..
2022-04-21 11:07:47 +03:00
2022-11-22 09:22:56 +02:00
2023-12-16 09:59:07 +02:00
2022-11-26 09:27:43 +02:00
2023-12-15 11:18:18 +01:00
2023-02-13 13:16:55 +02:00
2023-02-25 15:59:28 +02:00
2023-07-30 04:50:05 +02:00
2023-10-03 17:43:39 +02:00
2023-03-03 10:40:45 +02:00
2023-05-18 10:10:47 +03:00
2023-08-01 14:48:56 +02:00
2022-11-01 16:22:58 +02:00
2022-09-22 13:48:24 +02:00
2023-09-20 14:41:50 +02:00
2023-05-30 09:09:24 +03:00
2023-08-25 15:53:28 +03:00
2021-05-25 21:08:00 +08:00
2022-11-03 09:11:29 +02:00
2023-01-11 10:38:54 +02:00
2023-08-25 15:53:28 +03:00
2023-11-06 08:51:50 +01:00
2022-06-13 06:40:15 +00:00
2022-11-03 09:11:29 +02:00
2023-12-16 09:23:35 +02:00
2020-11-25 15:39:14 +01:00
2022-11-09 09:10:04 +02:00
2022-11-03 09:11:29 +02:00
2023-07-21 14:37:05 +03:00
2022-08-20 11:47:14 +02:00
2022-08-20 11:47:14 +02:00
2022-11-03 09:11:29 +02:00
2022-11-03 09:11:29 +02:00
2023-02-15 17:14:09 +00:00
2022-10-15 14:43:25 +02:00
2022-01-03 01:05:13 +00:00
2023-11-30 19:24:06 +01:00
2023-08-23 15:17:03 +03:00
2022-08-03 09:33:52 +02:00
2022-07-19 19:02:32 -04:00
2022-07-14 18:09:19 +03:00
2023-01-11 10:38:54 +02:00
2021-06-23 09:56:31 +03:00
2021-12-22 15:53:56 +02:00
2023-03-08 19:22:31 -05:00
2022-01-05 18:33:21 +02:00
2023-12-15 11:18:18 +01:00
2023-12-15 11:18:18 +01:00
2023-08-31 13:42:40 +03:00
2022-10-27 09:56:16 +03:00
2022-11-20 10:11:21 +02:00
2023-08-16 09:17:37 +03:00
2020-11-11 00:01:08 +02:00
2022-11-20 16:43:33 +02:00
2023-03-02 22:50:13 +02:00
2022-11-27 08:04:31 +02:00
2022-11-20 16:43:33 +02:00
2023-12-15 11:18:18 +01:00
2023-04-19 08:52:03 +03:00
2022-11-03 09:11:29 +02:00
2023-05-12 07:01:04 +03:00
2022-10-02 09:27:51 +03:00
2023-12-18 11:01:59 +02:00
2022-12-12 15:18:05 +01:00
2023-07-21 13:22:05 +03:00
2023-02-26 16:14:05 +02:00
2023-03-22 11:28:34 +02:00
2023-05-25 22:45:09 +02:00
2023-02-27 17:57:36 +02:00
2023-07-12 01:09:27 -05:00
2023-03-21 07:38:12 +02:00
2023-02-05 10:32:09 +02:00
2023-02-25 15:07:47 +02:00
2023-12-15 11:18:18 +01:00
2022-10-14 18:07:10 +03:00
2023-07-17 22:38:44 +03:00
2023-12-15 11:18:18 +01:00
2023-11-15 09:26:20 +02:00
2023-05-12 07:01:04 +03:00
2023-10-11 22:31:07 +03:00
2023-03-12 09:44:43 +02:00
2023-06-16 09:11:53 +03:00
2023-10-18 08:24:52 +03:00
2022-11-22 11:37:46 -05:00
2023-03-06 10:28:44 +02:00
2023-10-10 11:10:21 +03:00
2023-02-06 15:59:32 +01:00
2023-08-31 13:42:40 +03:00
2023-12-22 07:44:34 +08:00
2023-07-21 14:33:52 +03:00
2023-04-03 08:53:46 +03:00
2023-06-20 16:32:50 +02:00
2023-06-21 09:56:16 +03:00
2023-09-26 17:52:01 +03:00
2020-12-14 01:51:00 +02:00
2023-05-02 13:34:42 +03:00
2023-03-15 14:14:35 +02:00
2020-10-10 14:27:07 +02:00
2023-08-30 10:00:32 +02:00
2023-10-18 08:24:52 +03:00
2023-10-18 08:24:52 +03:00
2023-01-11 15:12:05 +02:00
2022-08-21 10:07:22 +03:00
2023-12-18 10:58:28 +02:00
2021-01-21 12:55:17 +02:00
2023-01-11 15:12:05 +02:00
2023-07-21 14:33:52 +03:00
2022-11-27 09:47:02 +02:00
2022-12-07 20:36:28 +02:00