Nexus OSS behind Nginx with SSL with Docker
Docker and Docker Compose
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.shClone the project in /opt/
git clone https://github.com/maleki-it/nexus_nginx.gitGo to the project directory
cd /opt/nexus_nginxChange YourDomainName
vim docker-compose.yml
#edit YourDomainName with your acutal Domain name
vim nginx.conf
#edit YourDomainName with your acutal Domain namedocker compose up -d getting SSL certification without use public IP
docker exec -it certbot certbot -d YourDomainName --manual --preferred-challenges dns certonlyafter this certbot ask you to set a txt dns record on your dns provider do it to get certs
restart nginx
docker restart nginxContributions are always welcome!