Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
664 views
by Rookie
Hello,

When using mautic with the optimizations made by Webinoly, there is an issue because the tracking files are not "real files" but dinamically generated scripts and pixels. The NGINX is configured to serve "real files" so 404 errores are returned for the tracking scripts and pixels, and because of that, email reads, website visits, etc... are not tracked.

Any idea about a change in the default locations to allow for NGINX to serve dinamically generated files?

Thanks!
by Expert
I have no experience with Mautic, but I've read a couple of tutorials made by users about Mautic and Webinoly and none of them have mentioned something related to a special Nginx configuration.

You can easily find these tutorials on Google.

1 Answer

0 votes
by Rookie
Thanks a lot for your response. Actually installing Mautic is extremely easy with Webinoly, but it has this "issue" of the dinamically generated tracking scripts and images. None of the tutorials I've seen (including the 2 you shared on another question) tackle this issue. Is is a common problem with NGINX with several solutions proposed in Google (with modifications to the conf file of the site), but I can't get any to work on Webnoly. If we forget about Mautic and just think of the scenario of a dinamically generated file... have you seen this situation with any other software?

Thanks again.
by Talented

This is my mautic.conf, try it out, works for me:

https://pastebin.com/mY3iS1Xt

Hope it helps.

by
So I added this to the

include /var/www/mautic.example.com/*-nginx.conf;

and it still didn't resolve the dynamic js issue.

is that where you put it or directly in the ~/sites-available/mautic.example.com
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...