Wpis z mikrobloga

@botul:

# Handle API v2
location ^~ /api/v2/ {
include proxy_params;
proxy_pass [http://127.0.0.1:8080;](http://127.0.0.1:8080;)
}

# Redirect unspecified (old) API calls to the correct route
location ~ /api/(.*)$ {
rewrite ^ /api/v2/$1?$args permanent;
}