# Tracking Pixel Returning 404 Error on Nginx

**URL:** <https://forum.mautic.org/t/tracking-pixel-returning-404-error-on-nginx/29441>\
**Category:** Product Support\
**Created:** [September 27, 2023, 8:17am UTC](https://forum.mautic.org/t/tracking-pixel-returning-404-error-on-nginx/29441 "2023-09-27T08:17:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 27, 2023, 8:48am UTC](https://forum.mautic.org/t/tracking-pixel-returning-404-error-on-nginx/29441/3 "2023-09-27T08:48:36Z")

</div>

Hi,

```auto
 location ~ focus/(.*).gif {
        try_files $uri /index.php?$args;
    }

    location ~ email/(.*).gif {
        try_files $uri /index.php?$args;
    }

```

Try these two.

Regards, M.

---

_[View the full topic](https://forum.mautic.org/t/tracking-pixel-returning-404-error-on-nginx/29441)._
