Add initial config for dedicated monitoring server
This commit is contained in:
1318
roles/dashboard/files/grafana.ini
Normal file
1318
roles/dashboard/files/grafana.ini
Normal file
File diff suppressed because it is too large
Load Diff
9
roles/dashboard/files/grafana.repo
Normal file
9
roles/dashboard/files/grafana.repo
Normal file
@@ -0,0 +1,9 @@
|
||||
[grafana]
|
||||
name=grafana
|
||||
baseurl=https://packages.grafana.com/enterprise/rpm
|
||||
repo_gpgcheck=1
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=https://packages.grafana.com/gpg.key
|
||||
sslverify=1
|
||||
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
22
roles/dashboard/files/ssl-options.conf
Normal file
22
roles/dashboard/files/ssl-options.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
# Ansible managed file - DO NOT EDIT
|
||||
#
|
||||
# https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-16-04
|
||||
#
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
|
||||
ssl_ecdh_curve secp384r1;
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_tickets off;
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
resolver 1.1.1.1 1.0.0.1 valid=300s;
|
||||
resolver_timeout 5s;
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains";
|
||||
add_header X-Frame-Options DENY;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
ssl_dhparam /etc/nginx/ssl-dhparam.pem;
|
||||
|
||||
# EOF
|
Reference in New Issue
Block a user