Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.04 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.04 KB

About this Repo

This is nginx configs for abf.openmandriva.org

Where to get SSL certs?

git clone https://github.com/srvrco/getssl.git
getssl -c abf.openmandriva.org
getssl -f abf.openmandriva.org

see update_certs.sh

config:

.getssl/abf.openmandriva.org/getssl.cfg
CA="https://acme-v01.api.letsencrypt.org"
ACCOUNT_EMAIL="[email protected]"
PRIVATE_KEY_ALG="rsa"
ACL=('/home/omv/letsencrypt/' '/home/omv/letsencrypt' '/home/omv/letsencrypt')
DOMAIN_CERT_LOCATION="/etc/ssl/abf.openmandriva.org.crt"
DOMAIN_KEY_LOCATION="/etc/ssl/abf.openmandriva.org.key"
CA_CERT_LOCATION="/etc/ssl/chain.crt"
DOMAIN_CHAIN_LOCATION="/home/omv/docker-nginx/full_chain.pem"
RENEW_ALLOW="30"
getssl -u -a

copying domain certificate to /etc/ssl/abf.openmandriva.org.crt
copying private key to /etc/ssl/abf.openmandriva.org.key
copying CA certificate to /etc/ssl/chain.crt
copying full pem to /home/omv/docker-nginx/full_chain.pem

copy in /home/omv/docker-nginx/

docker build --tag=openmandriva/nginx --file Dockerfile .