MyNixOS website logo
option

services.gancio.nginx.locations.<name>.basicAuth

Basic Auth protection for a vhost.

WARNING: This is implemented to store the password in plain text in the Nix store.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  user = "password";
};