athens/modules/gitea/nginx.nix
James Walker be52b200c2
🐛 switch to IPs for nginx
(limit deploy failures)
2022-06-11 14:57:41 -04:00

18 lines
313 B
Nix

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