Recent Discussions

Reversed Proxy

Open in Discord
Unanswered
Vinnipapi posted this in #questions
24 messages
0 views
I am using the [Plan Plugin](https://www.spigotmc.org/resources/plan-player-analytics.32536/) for my server and wanted to enable my custom domain using nginx as reversed proxy to get rid of the port after the url. I setted up everything and I got no errors. However I cant access the site anymore. Not with the old ip and not with my new ip. Every ports are forwardes (i think) and the plugin also works and gets no errors, but the website just wont load...

I hope anyone can help me dealing with that error 😄
Original message was deleted
- I use the plugin on my backend servers (1.21.4) and my proxy (Velocity) and on velocity the confiugration needs to be done because the webservers are disabled on the backend servers.

- The domain I want the panel ist monitor.mydomain.de (dont want to share it because I do not want to advertise my server)

- My nginx configurarion: https://pastebin.com/BHzmHZX3

- The following ports are forwarded (Screenshot)

- Logs from nginx and Plan (Screenshot)

- It says website is not reachable

- No error logs :peepoHappy:
image.png
image.png
image.png
Delete Nginx and switch to Caddy, it'll make your life significantly easier since the entire config is this.
monitoring.domain.com {
  reverse_proxy http://localhost:<port>
}
Also might I ask what you're using Plan for? @Vinnipapi
It's a notoriously heavy mod.
Caddy handles SSL certificates automatically so long as it has ports 80 and 443.
You don’t need Certbot.
To monitor player data and have detailed insights off my server. It is useful and we have strong Servers so it does not matter
@AeonRemnant You don’t need Certbot.
Okay I will try that
@Vinnipapi To monitor player data and have detailed insights off my server. It is useful and we have strong Servers so it does not matter
I was more thinking you could use Grafana and UnifiedMetrics if that'll show you what you need.
You can gain a fuckload of metrics through the OTEL-LGTM stack, plus other stuff that usually doesn't fit in like Cadvisor.
Red Crossbill
If you have ssh I wonder if cloudflare tunnels can work with your case
@AeonRemnant I was more thinking you could use Grafana and UnifiedMetrics if that'll show you what you need.
We thought about that but just looked out for an free alternative without restrictions maybe we will change that in the Future.
All of the software is free.
You can host it in Docker.
Grafanalabs maintains everything you'd need. :p
Oh yeah I see I got redirected to some pricing stuff as I First checked that out . I will try that then.
You were probably looking for Grafana Cloud.
Southern yellowjacket
Grafana and PLAN do have different use cases though; we use both
Loading...