1
0
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:
Rob Petti 2022-11-06 19:16:44 -07:00 committed by GitHub
parent e53fc34e9a
commit 8c81db5a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dist/nginx.conf vendored
View File

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