I have configured Sentry on our server. Great application !! We want to enable front-end logging however we don’t want to expose our dashboard publicly. Is it possible to run dashboard on different dashboard and receive the logging on port 80? I will be great full to any help.
You can definitely do this purely in nginx, but what you want here is going to vary drastically depending on what exactly you want. Either way, this is entirely unrelated to Sentry and just more about configuring a load balancer.
With that said, if you have something started or something to go with, I can probably help.
First, based on your config, this looks like you’re running a really old version of Sentry. Seems like 7.x.
With that said, you should be able to just have a server{} block that listens on a different port or domain that only passes along requests for the store endpoint.
Hi, regarding the solution that @matt gave in 2016 I have slight addition. We had a problem where we needed to add a prefix in front of our api-gateway. I learnt the hard way… or at least the stackoverflow-way that query-params doesn’t get sent by default. The solution is adding them explisit in the location-block: