mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
13 lines
259 B
Nix
13 lines
259 B
Nix
{ lib, config, pkgs, ... }:
|
|
{
|
|
services = {
|
|
nginx.virtualHosts."quack.social" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass = "http://localhost:3000";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|