# Nginx reverse proxy causes 404 on /

**URL:** <https://forum.mattermost.com/t/nginx-reverse-proxy-causes-404-on/7545>\
**Category:** Troubleshooting\
**Created:** [June 25, 2019, 11:26pm UTC](https://forum.mattermost.com/t/nginx-reverse-proxy-causes-404-on/7545 "2019-06-25T23:26:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scrumplex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/scrumplex/32/3000_2.png) [@Scrumplex](https://forum.mattermost.com/u/Scrumplex)\
**Post date:** [June 25, 2019, 11:26pm UTC](https://forum.mattermost.com/t/nginx-reverse-proxy-causes-404-on/7545/1 "2019-06-25T23:26:50Z")

</div>

#### Summary

When reverse proxying Mattermost through nginx with the recommended config in the docs, I get a 404 on “/”. This seems to be a problem with Mattermost rather than nginx, see error message below.

#### Steps to reproduce

I am using Arch Linux  
nginx 1.16.0-1  
mattermost 5.12.0-2

#### Expected behavior

N/A

#### Observed behavior

`{"level":"debug","ts":1561505102.811418,"caller":"app/app.go:136","msg":"not found handler triggered","path":"/","code":404,"ip":"my ipv6 (X-Forwarded-For)"}`
