Score:0

Nginx Basic Authentication

us flag

I want to implement some basic authentication so that when I check my netdata dashboard at the domain it won't be wide open and viewable by everyone.

And I do have other apps I plan to run. Including ZNC which is already running.

Problem is that after I log into to the netdata subdomain, I cannot get into the znc web interface on another subdomain regardless of what password I put in.

Do I need to enable multiple log in sessions or is the native znc log in system making me unable to authenticate?

Score:0
us flag

Solution is found.

Add the line below if you are using nginx's basic auth module. Otherwise the nginx authentication header would be forwarded to the app, which would cause all HTTP requests to fail. Adding the line also means that you can't access certain APIs via nginx with basic authentication

proxy_set_header Authorization "";

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.