athens/nix/modules/gitea/nginx.nix

21 lines
365 B
Nix
Raw Normal View History

2022-12-27 10:10:53 -05:00
_:
2021-10-13 21:11:36 -04:00
{
services.nginx = {
enable = true;
virtualHosts = {
"walkah.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://100.111.208.75:8003";
2021-10-13 21:11:36 -04:00
proxyWebsockets = true;
2023-01-21 17:39:39 -05:00
extraConfig = ''
client_max_body_size 0;
'';
2021-10-13 21:11:36 -04:00
};
};
};
};
}