Jenkins with Tamil -4 |DNS & LetsEncrypt SSL Config |
Please Subscribe Our YouTube Channel For More interesting Video And
Please Share , Like & Comment !!
*********************************************************
Jenkins with Tamil -1 | Install Jenkins – Run SSH Remote Host Job
***************************************************************
https://youtu.be/PL52Ch_erBo
Upstream Project vs Downstream Project | Jenkins Tamil
******************************************************
Project based User Permission | Jenkins with Tamil -3
***************************************************
################################################
sudo apt-get update
apt install openjdk-8-jre-headless
wget -q -O – https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add –
sudo apt-add-repository “deb http://pkg.jenkins-ci.org/debian binary/”
sudo apt install jenkins -y
sudo add-apt-repository ppa:certbot/certbot
sudo apt install -y nginx python-certbot-nginx
Godaddy entry for jenkins
*************************
Add A record for subdomain in DNS manage record on Godaddy console
vi /etc/nginx/sites-available/default
upstream jenkins {
server 127.0.0.1:8080 fail_timeout=0;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name jenkins.techforall247.xyz;
location / {
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_pass http://jenkins;
}
}
sudo nginx -t
sudo systemctl restart nginx
sudo certbot –nginx -d jenkins.techforall247.xyz
by Tamil Cloud
linux dns configuration