password protect ccfc

This commit is contained in:
2019-07-25 22:18:13 -04:00
parent 64933ac41a
commit e4b87cb50b

View File

@@ -21,6 +21,8 @@ rewrite ^/$ http://icinga.keiran.us/icingaweb2 permanent;
} }
location ~ ^/ccfc/$ { location ~ ^/ccfc/$ {
auth_basic "Login";
auth_basic_user_file /var/www/htpasswd_ccfc;
fastcgi_pass unix://var/run/php/php7.0-fpm.sock; fastcgi_pass unix://var/run/php/php7.0-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;