In my current environment I have a web app running on Apache (no php is being used) with Nginx serving as a reverse proxy.
If I have Piwik installed on Nginx, where all php is being served by Ngnix, will Piwik still be able to track analytics correctly if I have the Piwik javascript blocks included in the code that is running on the Apache servers?
The answer is yes. In the nginx.conf file you need to add