l 1 mors: add wordpress/owncloud test
This commit is contained in:
parent
d7741ca83f
commit
f55b44eb7c
@ -38,6 +38,10 @@
|
|||||||
../3modules/wordpress_nginx.nix
|
../3modules/wordpress_nginx.nix
|
||||||
];
|
];
|
||||||
lass.wordpress."testserver.de" = {
|
lass.wordpress."testserver.de" = {
|
||||||
|
multiSite = {
|
||||||
|
"1" = "testserver.de";
|
||||||
|
"2" = "bla.testserver.de";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mysql = {
|
services.mysql = {
|
||||||
@ -52,6 +56,27 @@
|
|||||||
{ predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; precedence = 9998; }
|
{ predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; precedence = 9998; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
#owncloud-test
|
||||||
|
#imports = singleton (sitesGenerators.createWordpress "testserver.de");
|
||||||
|
imports = [
|
||||||
|
../3modules/owncloud_nginx.nix
|
||||||
|
];
|
||||||
|
lass.owncloud."owncloud-test.de" = {
|
||||||
|
};
|
||||||
|
|
||||||
|
#services.mysql = {
|
||||||
|
# enable = true;
|
||||||
|
# package = pkgs.mariadb;
|
||||||
|
# rootPassword = "<secrets>/mysql_rootPassword";
|
||||||
|
#};
|
||||||
|
networking.extraHosts = ''
|
||||||
|
10.243.0.2 owncloud-test.de
|
||||||
|
'';
|
||||||
|
krebs.iptables.tables.filter.INPUT.rules = [
|
||||||
|
{ predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; precedence = 9998; }
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
krebs.build.host = config.krebs.hosts.mors;
|
krebs.build.host = config.krebs.hosts.mors;
|
||||||
@ -59,11 +84,12 @@
|
|||||||
networking.wireless.enable = true;
|
networking.wireless.enable = true;
|
||||||
|
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
10.243.206.102 habsys.de
|
213.239.205.240 wohnprojekt-rhh.de
|
||||||
10.243.206.102 pixelpocket.de
|
213.239.205.240 karlaskop.de
|
||||||
10.243.206.102 karlaskop.de
|
213.239.205.240 makeup.apanowicz.de
|
||||||
10.243.206.102 ubikmedia.de
|
213.239.205.240 pixelpocket.de
|
||||||
10.243.206.102 apanowicz.de
|
213.239.205.240 reich-gebaeudereinigung.de
|
||||||
|
213.239.205.240 o.ubikmedia.de
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user