gearheads
/
mastodon
Archived
2
0
Fork 0

allow /api/v1/streaming to be used as per documentation (#19896)

gh/stable
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
1 changed files with 1 additions and 1 deletions

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;