Nginx proxies Apache (I have it set up like this on my local server, too), which you can control with .htaccess directives.
I’m not sure I understand your problem, but you might want to see what I say below.
Curl won’t work here because of the security system:
If you have any more questions, don’t hesitate to reply!