mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add nginx config to wordpress
This commit is contained in:
parent
ef7aaacfc8
commit
6c775d5e91
@ -66,6 +66,11 @@ with lib; {
|
||||
};
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
services.nginx.virtualHosts.${cfg.domain} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
services.wordpress = {
|
||||
webserver = "nginx";
|
||||
sites."${cfg.domain}" = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user