Hoping you kind people can help!
I'm wanting to secure my entire site with additional protection using a .htaccess / .htpasswd file but struggling to get it to work. Ideally I would do this in the nginx config but happy to put in the root .htaccess.
Has anyone done either? I want to prompt the user for a username / password before even seeing Flarum.
I tried auth_basic_user_file, etc in nginx but seemed to get no where! All help much appreciated!