From: Dessalines Date: Mon, 22 Jun 2020 18:48:46 +0000 (-0400) Subject: Fixing nginx.conf, adding nginx config update to releases.md. X-Git-Url: http://these/git/%22https:/image.com/readmes/%7B%60%24%7BarchiveUrl%7D/static/%24%7Bargs.pageFn.next%7D?a=commitdiff_plain;h=040bd4361fbab658f6ffd48252115608800c52c9;p=lemmy.git Fixing nginx.conf, adding nginx config update to releases.md. --- 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;