mirror of
https://github.com/mastodon/mastodon
synced 2024-11-23 14:46:18 +09:00
allow /api/v1/streaming to be used as per documentation (#19896)
This commit is contained in:
parent
e53fc34e9a
commit
8c81db5a41
2
dist/nginx.conf
vendored
2
dist/nginx.conf
vendored
@ -112,7 +112,7 @@ server {
|
|||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
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 New Issue
Block a user