summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-06-22 14:48:46 -0400
committerDessalines <tyhou13@gmx.com>2020-06-22 14:48:46 -0400
commit040bd4361fbab658f6ffd48252115608800c52c9 (patch)
treea53a1aad7097cf4ea6b3d7ad615f19cdcd223a60
parenta4d2c2ab71da2952e1dcdcad1cc18b68acaf2814 (diff)
Fixing nginx.conf, adding nginx config update to releases.md.
-rw-r--r--RELEASES.md2
-rw-r--r--ansible/templates/nginx.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 3a797ab4..25c30861 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -13,6 +13,8 @@ wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/prod/migra
sudo bash migrate-pictshare-to-pictrs.bash
```
+You'll also have to update your nginx config, use the [one here](https://github.com/LemmyNet/lemmy/blob/master/ansible/templates/nginx.conf).
+
*You'll have to log in again to pick up your avatar*
Apart from that, we've closed [~90 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1), including:
diff --git a/ansible/templates/nginx.conf b/ansible/templates/nginx.conf
index bdf80bc5..b710fdb3 100644
--- a/ansible/templates/nginx.conf
+++ b/ansible/templates/nginx.conf
@@ -78,7 +78,7 @@ server {
# pict-rs images
location /pictrs {
location /pictrs/image {
- proxy_pass http://0.0.0.0:8537/image/;
+ proxy_pass http://0.0.0.0:8537/image;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;