17 lines
361 B
Nix
17 lines
361 B
Nix
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
{
|
|
services.bang-evaluator = {
|
|
enable = true;
|
|
listenAddress = ":8000";
|
|
};
|
|
|
|
services.nginx.virtualHosts."bangs.sbruder.de" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/".proxyPass = "http://localhost:8000";
|
|
};
|
|
}
|