Adding wordpress
This commit is contained in:
parent
c8fcad448a
commit
29b3db36cd
3 changed files with 18 additions and 3 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
./networking.nix
|
./networking.nix
|
||||||
# ./disko-config.nix
|
# ./disko-config.nix
|
||||||
./reverse-proxy.nix
|
./reverse-proxy.nix
|
||||||
|
./wordpress.nix
|
||||||
|
|
||||||
../../users/lyes
|
../../users/lyes
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,9 @@
|
||||||
default = true;
|
default = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
# locations."/" = {
|
||||||
root = "/var/data/www/lyes.eu/";
|
# root = "/var/data/www/lyes.eu/";
|
||||||
};
|
# };
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 82.67.15.247;
|
allow 82.67.15.247;
|
||||||
deny all;
|
deny all;
|
||||||
|
|
|
||||||
14
hosts/zora/wordpress.nix
Normal file
14
hosts/zora/wordpress.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.wordpress = {
|
||||||
|
webserver = "nginx";
|
||||||
|
|
||||||
|
"lyes.eu" = {
|
||||||
|
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
|
||||||
|
settings = {
|
||||||
|
WPLANG = "fr_FR";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue