Adding wordpress

This commit is contained in:
Lyes Saadi 2025-10-30 01:50:34 +01:00
parent c8fcad448a
commit 29b3db36cd
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 18 additions and 3 deletions

View file

@ -9,6 +9,7 @@
./networking.nix
# ./disko-config.nix
./reverse-proxy.nix
./wordpress.nix
../../users/lyes

View file

@ -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
View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
services.wordpress = {
webserver = "nginx";
"lyes.eu" = {
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
settings = {
WPLANG = "fr_FR";
};
};
};
}