Mastodon nginx: fix streaming API location

This commit is contained in:
Alex Gleason 2022-05-10 16:54:19 -05:00
parent fb17e59d77
commit 3919212196
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -140,7 +140,7 @@ server {
}
# Mastodon's Node.js streaming server.
location /api/v1/streaming {
location ^~ /api/v1/streaming {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;