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.
This commit is contained in:
Tim Abbott
2018-11-28 12:19:37 -08:00
parent d8c5ad2a26
commit 51950ad352

View File

@@ -36,24 +36,24 @@ created (e.g. `exampleinc-zulip-uploads`).
`/etc/zulip/settings.py` (add a `#` at the start of the line). `/etc/zulip/settings.py` (add a `#` at the start of the line).
1. You will need to configure `nginx` to direct requests for uploaded 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 files to the Zulip server (which will then serve a redirect to the
appropriate place in S3), rather than serving them directly. appropriate place in S3), rather than serving them directly.
With Zulip 1.9.0 and newer, you can do this automatically with the With Zulip 1.9.0 and newer, you can do this automatically with the
following commands run as root: following commands run as root:
``` ```
crudini --set /etc/zulip/zulip.conf application_server no_serve_uploads true crudini --set /etc/zulip/zulip.conf application_server no_serve_uploads true
/home/zulip/deployments/current/scripts/zulip-puppet-apply /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 With older Zulip, you need to edit
`/etc/nginx/sites-available/zulip-enterprise` to comment out the `/etc/nginx/sites-available/zulip-enterprise` to comment out the
`nginx` configuration block for `/user_avatars` and the `include `nginx` configuration block for `/user_avatars` and the `include
/etc/nginx/zulip-include/uploads.route` line and then reload the /etc/nginx/zulip-include/uploads.route` line and then reload the
`nginx` service (`service nginx reload`). `nginx` service (`service nginx reload`).
1. Finally, restart the Zulip server so that your settings changes 1. Finally, restart the Zulip server so that your settings changes
take effect take effect