EmonCMS on Synology DSM6.0.1 with Nginx

Sorry for my English.
I have EmonCMS installed on Synology with DSM6.0.1-7393. If I use web server Apach2.2 - EmonCMS works. And if I switch on Nginx - I can not even log in EmonCMS. I want to use Ngnix instead Apach2.2. How to set up the configuration for Nginx EmonCMS? Thankyou.

Create a file: www.emoncms.conf

location ^~ /emoncms { include proxy.conf; proxy_pass; proxy_read_timeout 3600s; }

and put it in a folder /etc/nginx/conf.d

It works now.