athens/modules/gitea/nginx.nix
2021-10-13 21:11:36 -04:00

18 lines
304 B
Nix

{ config, lib, pkgs, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"walkah.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://plato:8003";
proxyWebsockets = true;
};
};
};
};
}