Simple overview of use/purpose.
An in-depth paragraph about your project and overview of use.
#!/bin/bash | |
# Set PATH | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
# Run the certbot container to renew the certs | |
docker-compose -f /opt/docker/certbot/docker-compose.yml run --rm certbot | |
# Concatenate the resulting certificate chain and the private key and write it to HAProxy's certificate file. | |
cat /opt/docker/certbot/certbot/etc/letsencrypt/live/example.org/{fullchain,privkey}.pem > /opt/docker/haproxy/ssl/example_org.pem |
mongoserver:PRIMARY> rs.status(); | |
{ | |
"set" : "mongoserver", | |
"date" : ISODate("2016-02-02T10:47:07.510Z"), | |
"myState" : 1, | |
"members" : [ | |
{ | |
"_id" : 3, | |
"name" : "192.168.1.10:37017", | |
"health" : 1, |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |