[SOLVED] NC rules for nginx don't play nice with OO docserver

Here’s my nginx config, and the guide I’ve been using.
The problem is, Nextcloud overtakes all requests for any static files, and overrides them. Or, rather, nginx hands them off to Nextcloud, as seen on line 130 of nginx config. So, how do I modify proxied links via nginx, or make onlyoffice docserver aware that it’s inside a subdirectory?

If anybody ever reads this, ‘~^ /oo/’ matches any query beginning with /oo/ and halts searching, so any other expressions will not be evaluated, sans ‘= /oo/’. Just what I needed.