C
There are many problems in your code, please move all UNA related rules to "location /" block. Also you need to remove "try_files" rules.