MyNixOS website logo
option

services.nginx.virtualHosts

Declarative vhost config.

Declarations
Type
attribute set of (submodule)
Default
{
  localhost = { };
}
Example
{
  "hydra.example.com" = {
    forceSSL = true;
    enableACME = true;
    locations."/" = {
      proxyPass = "http://localhost:3000";
    };
  };
};