athens/nix/modules/gitea/nginx.nix
2024-09-02 10:47:02 -04:00

21 lines
365 B
Nix

_:
{
services.nginx = {
enable = true;
virtualHosts = {
"walkah.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://100.111.208.75:8003";
proxyWebsockets = true;
extraConfig = ''
client_max_body_size 0;
'';
};
};
};
};
}