According to the posted nginx configuration, you mainly wan to do three things:
Listen on test.xxx.yyy.com:80
Serve files vom C:/www/html-dev directly (I'm assuming this is static content like img/css/js)
Expect /api/, this simply got proxied to http://localhost:7000 (Should be the app server)
You can use this config, but this requires some configuration ...
I was having the same issue here, 3 years later, so I'll post the answer here.
If you're able to run/test using "openvpn --config ", but systemd keeps telling you that there's an error in the first line, it's not. It's SELinux fault.
For a simple way to test this hypothesis you can set selinux in permissive mode instead of enforcing and after a reboot you'...