Don't use nginx *and* apache

This commit is contained in:
Sandro - 2022-06-28 22:35:19 +02:00
parent 5ab9f37518
commit e13bfbce2d
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 11 deletions

View File

@ -19,16 +19,6 @@ in
security.acme.defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
services.nginx = {
enable = true;
virtualHosts."wiki.c3d2.de" = {
default = true;
forceSSL = true;
#can only be set after subdomain was changed
enableACME = true;
};
};
services.postgresql =
let
cfg = config.services.mediawiki;
@ -79,8 +69,10 @@ in
enable = true;
package = ourMediawiki;
virtualHost = {
adminAddr = "no-reply@c3d2.com";
enableACME = true;
forceSSL = true;
hostName = "wiki.c3d2.de";
adminAddr = "root@example.com";
};
#skins = {
# Vector = "${ourMediawiki}/share/mediawiki/skins/Vector";