infrastructure/machines/core-services-01/dokuwiki.nix
raito 2283ee602a Integrate core-services-01 in a nice workflow (#1)
This enables the tracking of core-services-01 over the infrastructure repository.

Co-authored-by: Gabriel DORIATH DOHLER <gabriel.doriath.dohler@ens.psl.eu>
Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/infrastructure/pulls/1
Co-authored-by: raito <raito@noreply.git.rz.ens.wtf>
Co-committed-by: raito <raito@noreply.git.rz.ens.wtf>
2021-07-26 01:29:05 +02:00

33 lines
535 B
Nix

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