mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-25 11:42:58 +01:00
Trailing slash in nginx imagor config is required
This commit is contained in:
parent
c42c4b455c
commit
0f65bd9c24
@ -34,9 +34,9 @@ and the `-p` value used in docker.
|
|||||||
If you're using a [reverse proxy](../reverseProxy.md) such as Nginx for Fosscord already, you could add this to your config's `server` block
|
If you're using a [reverse proxy](../reverseProxy.md) such as Nginx for Fosscord already, you could add this to your config's `server` block
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
location /media {
|
location /media/ {
|
||||||
# If you changed the port, be sure to change it here too
|
# If you changed the port, be sure to change it here too
|
||||||
proxy_pass http://127.0.0.1:8000;
|
proxy_pass http://127.0.0.1:8000/;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user