infrastructure/machines/core-services-01/dokuwiki.nix

28 lines
435 B
Nix

{ config, ... }:
let
my = config.my;
in
{
services.dokuwiki.sites."wiki.${my.subZone}" = {
enable = true;
acl = ''
* @ALL 1
* @admin 16
'';
};
/*
services.nginx = {
enable = true;
virtualHosts."wiki.${my.subZone}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "htttp://127.0.0.1:${toString port}";
};
};
};
*/
}