docs: Avoid hardcoded /tmp paths in miscellaneous documentation.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-01-14 17:56:06 -08:00
committed by Tim Abbott
parent b7179f8f79
commit 25d6107a4f
4 changed files with 12 additions and 12 deletions

View File

@@ -27,16 +27,16 @@ one created by Zulip into it:
```shell
sudo cp /etc/nginx/nginx.conf /etc/nginx.conf.before-zulip-install
wget -O /tmp/nginx.conf.zulip \
sudo wget -O /etc/nginx/nginx.conf.zulip \
https://raw.githubusercontent.com/zulip/zulip/master/puppet/zulip/files/nginx/nginx.conf
sudo meld /etc/nginx/nginx.conf /tmp/nginx.conf.zulip # be sure to merge to the right
sudo meld /etc/nginx/nginx.conf /etc/nginx/nginx.conf.zulip # be sure to merge to the right
```
After the zulip installation completes, then you can overwrite (or
merge) your new nginx.conf with the installed one:
```shell
$ sudo meld /tmp/nginx.conf.zulip /etc/nginx/nginx.conf # be sure to merge to the right
$ sudo meld /etc/nginx/nginx.conf.zulip /etc/nginx/nginx.conf # be sure to merge to the right
$ sudo service nginx restart
```