X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=f2df46e6770aa47f79cae78dd5903442f5aa26c0;hb=f9ccde727d3471c99b909a528aa7168281368084;hp=c22e1130be39b67136dd60c5581f0776c1674771;hpb=4f13ea60bec1126f54b9da543b549d29d5013a69;p=distro-setup diff --git a/distro-end b/distro-end index c22e113..f2df46e 100755 --- a/distro-end +++ b/distro-end @@ -180,6 +180,22 @@ sgo certbotmail.timer pi ${p1[@]} + +## prometheus node exporter setup +web-conf -f 9100 -p 9101 apache2 $(hostname -f) <<'EOF' +#https://httpd.apache.org/docs/2.4/mod/mod_authn_core.html#authtype +# https://stackoverflow.com/questions/5011102/apache-reverse-proxy-with-basic-authentication + + AllowOverride None + AuthType basic + AuthName "Authentication Required" + # setup one time, with root:www-data, 640 + AuthUserFile "/etc/prometheus-htpasswd" + Require valid-user + +EOF + + # website setup case $HOSTNAME in lj|li) @@ -1565,6 +1581,9 @@ s fc-cache /a/bin/distro-setup/mymimes +sgo dynamicipupdate + + # stop autopoping windows when i plug in an android phone. # dbus-launch makes this work within an ssh connection, otherwise you get this message, # with still 0 exit code.