mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-16 09:24:00 +00:00
Fixing nginx.conf, adding nginx config update to releases.md.
This commit is contained in:
parent
a4d2c2ab71
commit
040bd4361f
2 changed files with 3 additions and 1 deletions
2
RELEASES.md
vendored
2
RELEASES.md
vendored
|
@ -13,6 +13,8 @@ wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/prod/migra
|
||||||
sudo bash migrate-pictshare-to-pictrs.bash
|
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*
|
*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:
|
Apart from that, we've closed [~90 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1), including:
|
||||||
|
|
2
ansible/templates/nginx.conf
vendored
2
ansible/templates/nginx.conf
vendored
|
@ -78,7 +78,7 @@ server {
|
||||||
# pict-rs images
|
# pict-rs images
|
||||||
location /pictrs {
|
location /pictrs {
|
||||||
location /pictrs/image {
|
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 X-Real-IP $remote_addr;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in a new issue