-
Task
-
Resolution: Unresolved
-
Low
-
None
-
None
-
None
-
City
On the old hosting provider we had the following location configured in nginx:
location ^~ /internal/replication { internal; alias /home/metabrainz/metabrainz.org/replication_packets; }
This allowed us to serve us replication packets for MusicBrainz directly through nginx without keeping uWSGI around for data transfer. This feature is called X-Accel.
With the way new host is set up it's slightly more complicated to set this up. Replication data might be in a volume which is hosted on a different server than nginx. One solution is to have a "wrapper" nginx for MetaBrainz website. So the connection will look like this:
nginx (on a gateway) <--> nginx (MeB-specific) <--> uWSGI