3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
talyz 125bb7dac1
discourse: Don't patch the public path
Instead of patching the path to /public in Discourse's sources, make
the nginx configuration refer to the symlink in the discourse
package which points to the real path.

When there is a mismatch between the path nginx serves and the path
Discourse thinks it serves, we can run into issues like files not
being served - at least when sendfile requests from the ruby app are
processed by nginx. The issue I ran into most recently is that backup
downloads don't work.

Since Discourse refers to the public directory relative to the Rails
root in many places, it's much easier to just sync this path to the
nginx configuration than trying to patch all occurrences in the
sources. This should hopefully mean less potential for breakage in
future Discourse releases, too.
2021-12-06 14:21:39 +01:00
..
applications qemu: emit warnings when KVM acceleration is not usable 2021-11-30 13:06:22 +00:00
build-support Merge pull request #141186 from rycee/emacs-wrapper-static-subdirs 2021-11-29 16:21:52 -08:00
common-updater
data fira-code: 5.2 → 6 2021-11-29 09:17:09 -06:00
desktops Merge pull request #147963 from bobby285271/pantheon 2021-11-30 17:06:24 +08:00
development nodejs: Provide a static v8 library output 2021-11-30 23:05:48 +01:00
games frogatto-data: 2020-12-17 -> 2021-11-29 2021-11-29 23:02:40 +01:00
misc vimPlugins.vim-clap: fix cargoSha256 2021-11-29 16:01:23 -05:00
os-specific linux_hardkernel_4_14: 4.14.165-172 -> 4.14.180-176 2021-11-28 22:51:44 -05:00
pkgs-lib
servers discourse: Don't patch the public path 2021-12-06 14:21:39 +01:00
shells Merge pull request #144611 from Gerschtli/add-zsh-completion 2021-11-29 21:04:09 +01:00
stdenv
test
tools Merge pull request #147610 from fabaff/maigret 2021-11-30 10:09:41 +01:00
top-level Merge pull request #147359 from Izorkin/update-curl-libs 2021-11-30 11:19:15 +00:00