Skip to content

Commit 3224936

Browse files
committed
Merge pull request #6635
a1df1e8 [docs] add libevent dependency to build-osx.md (Jonas Schnelli) d6a92dd [release notes] mention apache reverse proxy to re-enable SSL (Jonas Schnelli)
2 parents 0c27795 + a1df1e8 commit 3224936

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

doc/build-osx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Instructions: Homebrew
3232

3333
#### Install dependencies using Homebrew
3434

35-
brew install autoconf automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf qt5
35+
brew install autoconf automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf qt5 libevent
3636

3737
NOTE: Building with Qt4 is still supported, however, could result in a broken UI. As such, building with Qt5 is recommended.
3838

doc/release-notes.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,36 @@ Then, to tunnel a SSL connection on 28332 to a RPC server bound on localhost on
2727

2828
It can also be set up system-wide in inetd style.
2929

30+
Another way to re-attain SSL would be to setup a httpd reverse proxy. This solution
31+
would allow the use of different authentication, loadbalancing, on-the-fly compression and
32+
caching. A sample config for apache2 could look like:
33+
34+
Listen 443
35+
36+
NameVirtualHost *:443
37+
<VirtualHost *:443>
38+
39+
SSLEngine On
40+
SSLCertificateFile /etc/apache2/ssl/server.crt
41+
SSLCertificateKeyFile /etc/apache2/ssl/server.key
42+
43+
<Location /bitcoinrpc>
44+
ProxyPass http://127.0.0.1:8332/
45+
ProxyPassReverse http://127.0.0.1:8332/
46+
# optional enable digest auth
47+
# AuthType Digest
48+
# ...
49+
50+
# optional bypass bitcoind rpc basic auth
51+
# RequestHeader set Authorization "Basic <hash>"
52+
# get the <hash> from the shell with: base64 <<< bitcoinrpc:<password>
53+
</Location>
54+
55+
# Or, balance the load:
56+
# ProxyPass / balancer://balancer_cluster_name
57+
58+
</VirtualHost>
59+
3060
Random-cookie RPC authentication
3161
---------------------------------
3262

0 commit comments

Comments
 (0)