Nginx service api for .NET?

I'm using Nginx and Docker on a Synology/Linux NAS and was wondering if the Nginx-service can be interacted with using some kind of api-wrapper in .NET?

I have found Docker.DotNet which allows me to interact with the Docker service from .NET which is perfect! Wondering if there's something similar for Nginx? Specifically I'm looking for a way to configure mappings of sub-domains to local ports. If not with .NET directly perhaps through some other means? I'm new to Docker but perhaps my "interacting" container could be configured to be able to communicate with the nginx-container somehow?