Mastodon nginx: fix streaming API location
This commit is contained in:
parent
fb17e59d77
commit
3919212196
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Mastodon's Node.js streaming server.
|
# Mastodon's Node.js streaming server.
|
||||||
location /api/v1/streaming {
|
location ^~ /api/v1/streaming {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
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