Skip to content


 Zabbix
 Grafana
 Prometheus
 Threejs and TypeScript
 SocketIO and TypeScript
 Blender Topological Earth
 Sweet Home 3D
 Design Patterns Python
 Design Patterns TypeScript
   
 Course Coupon Codes
Python   TypeScript
Kindle Edition Kindle Edition
$9.99 $14.99 $9.99 $14.99
Paperback Paperback
$14.99 $19.99 $14.99 $19.99








Add SSL to Prometheus Reverse Proxy

Video Lecture

Add SSL to Prometheus Reverse Proxy Add SSL to Prometheus Reverse Proxy Add SSL to Prometheus Reverse Proxy

Description

We will now add transport encryption to the Prometheus web user interface.

Since I have already set up the domain name, I can get a free certificate using Certbot.

Certbot will install a LetsEncrypt SSL certificate for free.

Ensure your domain name has propagated before running CertBot.

Your domain and IP will be different than mine, and note that it may take some time for the DNS record to propagate across the internet.

On my server, I will run

1
sudo snap install --classic certbot

Now we can run CertBot.

1
sudo certbot --nginx

Follow the prompts and select the domain name I want to secure.

Next open the Nginx Prometheus config file we created earlier to see the changes.

1
sudo nano /etc/nginx/sites-enabled/prometheus