3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Maximilian Bosch 42f6244899
nixos/nextcloud: update nginx config
This patch ensures that latest Nextcloud works flawlessly again on our
`nginx`. The new config is mostly based on upstream recommendations
(again)[1]:

* Trying to access internals now results in a 404.
* All `.php`-routes get properly resolved now.
* Removed 404/403 handling from `nginx` as the app itself takes care of
  this. Also, this breaks the `/ocs`-API.
* `.woff2?`-files expire later than other assets like images.

Closes #95293

[1] https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
2020-08-15 17:12:11 +02:00
..
doc Merge pull request #95010 from StijnDW/dokuwiki 2020-08-14 16:27:38 +02:00
lib Merge pull request #93824 from blitz/fix-rpi4-installer 2020-08-08 13:45:02 +02:00
maintainers nixos/maintainers/*: editorconfig fixes 2020-08-04 00:23:54 +10:00
modules nixos/nextcloud: update nginx config 2020-08-15 17:12:11 +02:00
tests Merge pull request #89444 from mweinelt/pinnwand-module 2020-08-14 22:09:33 +02:00
COPYING
default.nix
README treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
release-combined.nix nixos/release-combined: add systemd-networkd-ipv6-prefix-delegation test 2020-05-01 17:45:40 +02:00
release-small.nix nixos/release-small: drop latestKernel.login 2020-04-19 22:20:07 +03:00
release.nix nixos/release: add pantheon closure 2020-07-26 15:30:08 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.