dotfiles/nixos/boxes/vpsfree1/videos.nix

19 lines
385 B
Nix
Raw Normal View History

2023-10-21 22:14:19 +01:00
{...}: let
domain = "vidyos.peninsula.industries";
port = 3876;
in {
imports = [../nginx.nix];
services.nginx = {
virtualHosts = {
"${domain}" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://bolty.raptor-carp.ts.net:" + toString port;
proxyWebsockets = true;
};
};
};
};
}