3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/web-apps
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
..
atlassian nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
icingaweb2 nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
ihatemoney python3.pkgs.ihatemoney: 4.2 -> 5.1.1 2021-10-28 18:37:11 +02:00
bookstack.nix nixos/bookstack: fix error message output (#142729) 2021-10-24 18:13:54 +08:00
calibre-web.nix nixos/calibre-web: init module 2021-03-27 14:43:33 +03:00
code-server.nix maintainer: add stackshadow 2021-11-01 18:47:04 +01:00
convos.nix nixos/convos: init 2020-06-22 13:58:34 +02:00
cryptpad.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
dex.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
discourse.nix discourse: Don't patch the public path 2021-12-06 14:21:39 +01:00
discourse.xml discourse.plugins: Update all plugins to their latest versions 2021-12-02 10:43:14 +01:00
documize.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
dokuwiki.nix nixos/dokuwiki: add missing option enable 2021-11-02 09:23:06 +09:00
engelsystem.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
fluidd.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
galene.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
gerrit.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
gotify-server.nix
grocy.nix grocy: 2.7.1 -> 3.0.0 2020-12-22 16:00:33 +01:00
grocy.xml
hedgedoc.nix nixos/hedgedoc: add more options for oauth2 2021-10-18 14:20:51 +02:00
hledger-web.nix treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
invidious.nix nixos/invidious: init 2021-10-30 16:33:38 +02:00
isso.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
jirafeau.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
jitsi-meet.nix nixos/jibri: fix & docs for enable not via meet 2021-10-25 20:46:24 -04:00
jitsi-meet.xml nixos/jitsi-meet: add docs 2020-09-09 22:18:20 -07:00
keycloak.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
keycloak.xml nixos/keycloak: Split certificatePrivateKeyBundle into two options 2021-05-21 13:09:38 +02:00
lemmy.md nixos/lemmy: init 2021-10-06 21:02:51 +09:00
lemmy.nix lemmy: systemd postgresql setup service cleanup 2021-10-30 09:16:09 +09:00
lemmy.xml nixos/lemmy: init 2021-10-06 21:02:51 +09:00
limesurvey.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
mastodon.nix nixos/mastodon: allow '@resources' filter to mastodon-web service 2021-11-07 11:59:36 +01:00
matomo-doc.xml
matomo.nix nixos/matomo: delete tmp folder to fix borked upgrades 2021-11-09 15:14:31 +01:00
mattermost.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
mediawiki.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
miniflux.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
moinmoin.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
moodle.nix add opcache to list of php packages 2021-11-08 10:29:16 +01:00
nextcloud.nix nixos/nextcloud: Adapt cron frequency to changed upstream requirement 2021-10-30 14:22:22 +02:00
nextcloud.xml nixos/nextcloud: fix wording in manual 2021-10-09 20:52:52 +02:00
nexus.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
node-red.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
openwebrx.nix nixos/openwebrx: init 2021-11-10 23:42:18 +01:00
peertube.nix nixos/peertube: init service 2021-10-25 13:12:30 +09:00
pgpkeyserver-lite.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
pict-rs.md pict-rs: add initial module 2021-09-30 21:32:25 +09:00
pict-rs.nix pict-rs: add initial module 2021-09-30 21:32:25 +09:00
pict-rs.xml pict-rs: add initial module 2021-09-30 21:32:25 +09:00
plantuml-server.nix nixos/plantuml-server: use graphviz instead of graphviz_2_32 2021-10-23 17:49:05 +02:00
plausible.nix plausible: add remote connection with iex 2021-11-09 08:15:53 -05:00
plausible.xml plausible: first review fix iteration 2021-06-02 19:21:31 +09:00
restya-board.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
rss-bridge.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
selfoss.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
shiori.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
sogo.nix sogo: remove SOGoZipPath 2020-08-17 12:15:16 +02:00
trac.nix
trilium.nix nixos/trilium: use boolToString for noBackup 2021-05-30 18:16:13 +02:00
tt-rss.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
vikunja.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
virtlyst.nix
whitebophir.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
wiki-js.nix wiki-js: init at 2.5.191 2021-03-20 20:43:21 +01:00
wordpress.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
youtrack.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
zabbix.nix nixos/zabbixWeb: remove added whitespace to the passwordFile option 2021-11-02 10:35:55 -04:00