Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/nextcloud: Update recommended nginx settings #56496

Merged
merged 4 commits into from Mar 2, 2019

Conversation

bachp
Copy link
Member

@bachp bachp commented Feb 27, 2019

Motivation for this change

Update default configuration to match the latest recommendations from Nextcloud: https://docs.nextcloud.com/server/15/admin_manual/installation/nginx.html

To get rid of all the warnings the imagick PHP module is enabled too.

Also update to PHP 7.3 as this is officially supported by Nextcloud 15: https://docs.nextcloud.com/server/15/admin_manual/installation/system_requirements.html

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@bachp bachp changed the title Nextcloud nginx recommended nixos/nextcloud: Update recommended nginx settings Feb 28, 2019
@aanderse
Copy link
Member

aanderse commented Mar 1, 2019

Yes! Which is great for reproducible systems!

This allows to have a php configuration for nextcloud that is independent
of the global configuration.
It needs to match the version in phpfm which is hard coded.
So there is no point in being able to change it.
@bachp bachp force-pushed the nextcloud-nginx-recommended branch from cd8774e to 390b610 Compare March 1, 2019 23:17
@fpletz fpletz added the 9.needs: port to stable A PR needs a backport to the stable release. label Mar 2, 2019
@fpletz fpletz added this to the 19.03 milestone Mar 2, 2019
@fpletz
Copy link
Member

fpletz commented Mar 2, 2019

@GrahamcOfBorg test nextcloud.basic nextcloud.with-mysql-and-memcached nextcloud.with-postgresql-and-redis

@fpletz fpletz merged commit 542e384 into NixOS:master Mar 2, 2019
@samueldr samueldr removed the 9.needs: port to stable A PR needs a backport to the stable release. label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants