Static website alongside Mattermost with NGINX?

I figured it out. My problem was I misunderstood the difference between root and alias directives in NGINX config and I wasn’t mapping to the right directory, giving me a 404.