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

Video Lecture

Bind SSL to your Grafana Nginx Proxy Add SSL Bind SSL to your Grafana Nginx Proxy

Description

I add SSL to the Grafana web server to ensure all traffic is encrypted between the server and web browser.

I use LetsEncrypt by following the Certbot instructions.

For Web Server software, I choose Nginx

For Operating system, I choose Ubuntu 20.04 LTS

I then SSH onto my new Grafana server,

I enter these commands

1
2
3
4
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo apt-get update
then install Certbot with the Nginx option

1
sudo apt-get install certbot python3-certbot-nginx

then run

1
sudo certbot --nginx

Follow the prompts, and enter the domain name you want to secure,

After completion, you should then be able to now visit your Grafana server using the url

https://YOUR-DOMAIN-NAME

Note that after running Certbot, it has changed the settings of your Nginx configuration file you created earlier. You can see those changes by using the cat command.

1
cat /etc/nginx/sites-enabled/YOUR-DOMAIN-NAME