How to protect a page by password?

  • Hi.
    I've installed the squidanalyzer in my pfSense. Everything works ok, but I want to protect the squidanalyzer page with password!
    I've tried to reconfigure nginx.conf adding a new "location" block with basic_auth parameters, but it appears to be ignored by pfsense!
    Can anyone help me with it?