Merge pull request #3055 from Curious-r/master

Fix "SSL_do_handshake() failed" in nginx reverse-proxy
This commit is contained in:
Slavi Pantaleev 2023-12-22 08:34:46 +02:00 committed by GitHub
commit 2ebbe26e25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,7 @@ server {
location /.well-known/matrix { location /.well-known/matrix {
proxy_pass https://matrix.example.com/.well-known/matrix; proxy_pass https://matrix.example.com/.well-known/matrix;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
proxy_ssl_server_name on;
} }
# other configuration # other configuration