Fixing nginx.conf, adding nginx config update to releases.md.

This commit is contained in:
Dessalines 2020-06-22 14:48:46 -04:00
parent a4d2c2ab71
commit 040bd4361f
2 changed files with 3 additions and 1 deletions

2
RELEASES.md vendored
View File

@ -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:

View File

@ -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;