File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 41
41
42
42
if [ " $COUCHDB_CERT_FILE " ] && [ " $COUCHDB_KEY_FILE " ] && [ " $COUCHDB_CACERT_FILE " ]; then
43
43
# Enable SSL
44
- printf " [daemons]\nhttpsd = {chttpd, start_link, [https]}\n\n" >> /home/couchdb/couchdb/etc/local.d/ssl .ini
45
- printf " [ssl]\ncert_file = %s\nkey_file = %s\ncacert_file = %s\n" " $COUCHDB_CERT_FILE " " $COUCHDB_KEY_FILE " " $COUCHDB_CACERT_FILE " >> /home/couchdb/couchdb/etc/local.d/ssl .ini
44
+ printf " [daemons]\nhttpsd = {chttpd, start_link, [https]}\n\n" >> /home/couchdb/couchdb/etc/local.d/docker .ini
45
+ printf " [ssl]\ncert_file = %s\nkey_file = %s\ncacert_file = %s\n" " $COUCHDB_CERT_FILE " " $COUCHDB_KEY_FILE " " $COUCHDB_CACERT_FILE " >> /home/couchdb/couchdb/etc/local.d/docker .ini
46
46
47
47
# As per https://groups.google.com/forum/#!topic/couchdb-user-archive/cBrZ25DHHVA, due to bug
48
48
# https://issues.apache.org/jira/browse/COUCHDB-3162, we need the following lines. TODO: remove
49
49
# this in a later version of CouchDB 2.
50
- printf " ciphers = undefined\ntls_versions = undefined\nsecure_renegotiate = undefined\n" >> /home/couchdb/couchdb/etc/local.d/ssl .ini
50
+ printf " ciphers = undefined\ntls_versions = undefined\nsecure_renegotiate = undefined\n" >> /home/couchdb/couchdb/etc/local.d/docker .ini
51
51
fi
52
52
53
53
# Set the permissions. This is not needed as we are running couchdb as root
You can’t perform that action at this time.
0 commit comments