@robm and myself sat and debugged this issue and managed to get things working.
There are two issues here:
- In the page visited Mautic is always expecting a trailing slash /
- If you are running nginx and have used the configuration set out in linuxbabe article he is only allowing for 1.js to be passed through in the server rules:
location ~ /(mtc.js|1.js|mtracking.gif|.*\.gif|mtc) {
# default_type "application/javascript";
try_files $uri /index.php$is_args$args;
Now my regex is not good enough to mess around with this so all I did was amend to this line the different focus items I wanted to allow to be served by the nginx server as follows:
location ~ /(mtc.js|1.js|8.js|9.js|7.js|mtracking.gif|.*\.gif|mtc) {
# default_type "application/javascript";
try_files $uri /index.php$is_args$args;
I hope this helps others :-). Thanks @robm for assisting and finding the trailing slash