Add Drupal
This commit is contained in:
parent
767dac0b77
commit
6a967394b3
1 changed files with 19 additions and 0 deletions
|
|
@ -66,6 +66,8 @@
|
||||||
443
|
443
|
||||||
5201 # iperf3
|
5201 # iperf3
|
||||||
15835 # Glance
|
15835 # Glance
|
||||||
|
14789 # LibreBooking
|
||||||
|
14788 # Drupal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -109,6 +111,23 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = import ./glance.nix;
|
settings = import ./glance.nix;
|
||||||
};
|
};
|
||||||
|
drupal = {
|
||||||
|
enable = true;
|
||||||
|
sites = {
|
||||||
|
"localhost" = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
$base_url="http://192.168.1.210:14788";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
nginx.virtualHosts."localhost".listen = [
|
||||||
|
{
|
||||||
|
addr = "0.0.0.0";
|
||||||
|
port = 14788;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.EDITOR = "nvim";
|
environment.variables.EDITOR = "nvim";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue