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
|
||||
# ./disko-config.nix
|
||||
./reverse-proxy.nix
|
||||
./wordpress.nix
|
||||
|
||||
../../users/lyes
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
default = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = "/var/data/www/lyes.eu/";
|
||||
};
|
||||
# locations."/" = {
|
||||
# root = "/var/data/www/lyes.eu/";
|
||||
# };
|
||||
extraConfig = ''
|
||||
allow 82.67.15.247;
|
||||
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