Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 5880dc0d10d3
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: fddeb7cb7309
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 12, 2020

  1. Revert "nextcloud: use mkDefault for whole nginx config"

    This breaks the Nextcloud vhost declaration when adding e.g. another
    vhost as the `services.nginx.virtualHosts` option has `{ nextcloud =
    ...; }` as *default* value which will be replaced by another
    `virtualHosts`-declaration with a higher (e.g. the default) priority.
    
    The following cases are now supported & covered by the module:
    
    * `nginx` is enabled with `nextcloud` enabled and other vhosts can be
      added / other options can be declared without having to care
      about the declaration's priority.
    
    * Settings in the `nextcloud`-vhost in `nginx` have to be altered using
      `mkForce` as this is the only way how we officially support `nginx`
      for `nextcloud` and customizations have to be done explicitly using
      `mkForce`.
    
    * `nginx` will be completely omitted if a user enables nextcloud
      and disables nginx using `services.nginx.enable = false;`. (because
      nginx will be enabled by this module using `mkDefault`).
    
    This reverts commit 128dbb3.
    Closes #95259
    Ma27 committed Aug 12, 2020
    Copy the full SHA
    fddeb7c View commit details
    Browse the repository at this point in the history