Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if ($request_method = POST &&
$http_user_agent !~ libmusicbrainz &&
$http_host !~ /musicbrainz\.org/) {
rewrite ^/(.*)$ http://musicbrainz.org/$1 permanent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.