From e4b87cb50b39046bc699278b49c02cfca30fca13 Mon Sep 17 00:00:00 2001 From: keiran Date: Thu, 25 Jul 2019 22:18:13 -0400 Subject: [PATCH] password protect ccfc --- icinga2/files/icingaweb2.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icinga2/files/icingaweb2.jinja b/icinga2/files/icingaweb2.jinja index 8674682..7f0ab57 100644 --- a/icinga2/files/icingaweb2.jinja +++ b/icinga2/files/icingaweb2.jinja @@ -21,6 +21,8 @@ rewrite ^/$ http://icinga.keiran.us/icingaweb2 permanent; } location ~ ^/ccfc/$ { + auth_basic "Login"; + auth_basic_user_file /var/www/htpasswd_ccfc; fastcgi_pass unix://var/run/php/php7.0-fpm.sock; fastcgi_index index.php; include fastcgi_params;