MyNixOS website logo
option

services.mainsail.nginx.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";
};