nixos-config/machines/renge/services/bang-evaluator.nix

17 lines
361 B
Nix
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-03-26 12:49:01 +01:00
{
services.bang-evaluator = {
enable = true;
listenAddress = ":8000";
};
services.nginx.virtualHosts."bangs.sbruder.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:8000";
};
}