nixos-config/modules/system/services/server/forgejo/nginx/default.nix

12 lines
267 B
Nix
Raw Permalink Normal View History

2025-02-25 01:37:56 -05:00
{ config, lib, ... }:
2024-10-09 03:36:08 -04:00
{
2025-02-25 03:03:43 -05:00
services.nginx.virtualHosts."git.nixfox.ca" = lib.mkIf config.services.forgejo.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3110";
proxyWebsockets = true;
};
};
}