From 040bd4361fbab658f6ffd48252115608800c52c9 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 22 Jun 2020 14:48:46 -0400 Subject: Fixing nginx.conf, adding nginx config update to releases.md. --- RELEASES.md | 2 ++ ansible/templates/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3