Commit ebfbaaf2 authored by Rafael Kraut's avatar Rafael Kraut Committed by Rafael Kraut
Browse files

doc: remove discouraged enablePHP config from abstractions example

In the initial configuration the enablePHP config option is present. In the following abstracted example the commonConfig doesn't include it anymore.

Previous PRs #88505 and #284906 added the enablePHP config option to the commonConfig. @aanderse commented in https://github.com/NixOS/nixpkgs/pull/88505#issuecomment-632575200 the usage of enablePHP shouldn't be encouraged, `services.phpfpm` should be preferred whenever possible. So we remove the enablePHP config from theses examples.
parent 8a3f95b7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -10,14 +10,12 @@ If you find yourself repeating yourself over and over, it’s time to abstract.
        adminAddr = "alice@example.org";
        forceSSL = true;
        enableACME = true;
        enablePHP = true;
      };
      "wiki.example.org" = {
        documentRoot = "/webroot/wiki.example.org";
        adminAddr = "alice@example.org";
        forceSSL = true;
        enableACME = true;
        enablePHP = true;
      };
    };
}