From 51950ad352e4505ef2507e9f5fa69d2ef13eef6e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 28 Nov 2018 12:19:37 -0800 Subject: [PATCH] docs: Fix accidental repeat bullet #1 in S3 backend documentation. Due to missing indentation, the numbering was resetting to 1 rather than continuing to 6. --- docs/production/upload-backends.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/production/upload-backends.md b/docs/production/upload-backends.md index b84d0d9a2d..93a184cb56 100644 --- a/docs/production/upload-backends.md +++ b/docs/production/upload-backends.md @@ -36,24 +36,24 @@ created (e.g. `exampleinc-zulip-uploads`). `/etc/zulip/settings.py` (add a `#` at the start of the line). 1. You will need to configure `nginx` to direct requests for uploaded -files to the Zulip server (which will then serve a redirect to the -appropriate place in S3), rather than serving them directly. + files to the Zulip server (which will then serve a redirect to the + appropriate place in S3), rather than serving them directly. -With Zulip 1.9.0 and newer, you can do this automatically with the -following commands run as root: + With Zulip 1.9.0 and newer, you can do this automatically with the + following commands run as root: -``` -crudini --set /etc/zulip/zulip.conf application_server no_serve_uploads true -/home/zulip/deployments/current/scripts/zulip-puppet-apply -``` + ``` + crudini --set /etc/zulip/zulip.conf application_server no_serve_uploads true + /home/zulip/deployments/current/scripts/zulip-puppet-apply + ``` -(The first line will update your `/etc/zulip/zulip.conf`). + (The first line will update your `/etc/zulip/zulip.conf`). -With older Zulip, you need to edit -`/etc/nginx/sites-available/zulip-enterprise` to comment out the -`nginx` configuration block for `/user_avatars` and the `include -/etc/nginx/zulip-include/uploads.route` line and then reload the -`nginx` service (`service nginx reload`). + With older Zulip, you need to edit + `/etc/nginx/sites-available/zulip-enterprise` to comment out the + `nginx` configuration block for `/user_avatars` and the `include + /etc/nginx/zulip-include/uploads.route` line and then reload the + `nginx` service (`service nginx reload`). 1. Finally, restart the Zulip server so that your settings changes take effect