Install and harden Prometheus
Overview
In this video, I will train you install and harden Prometheus server
NGINX configuration sample for Prometheus server:
1server {
2 listen 443 ssl;
3 server_name prometheus.plabs.pro;
4 ssl_certificate /root/.acme.sh/plabs.pro/fullchain.cer;
5 ssl_certificate_key /root/.acme.sh/plabs.pro/plabs.pro.key;
6 location / {
7 auth_basic "Restricted";
8 auth_basic_user_file /etc/nginx/.htpasswd;
9 proxy_pass http://127.0.0.1:9090;
10}
11}