Jump to content

Hi there!

 

For a school project we have to set up a server (which is located at my home) with a webpage, cacti and pterodactyl. The website and cacti listen on the http (80) port. Pterodactyl on the https (443) port.

So I'm using a reverse proxy (Nginx on my Raspberry Pi 2 with Ubuntu 20.04 ARM) to forward different subdomains to my local ip addresses. The website forwarding is not an issue but cacti is something else.

It always tries to forward it to "mydomain/cacti/index.html" after logging in, but the entry in my reverse proxy is already pointing to the /cacti/ location. So it's effectively trying to access "myIP/cacti/cacti/index.html" which doesn't exist.

 

My webpage is also on the same machine.

 

This is the entry.. I deleted my real domain so it's normally in there instead of "example.com".

 

image.png.23a09166886bf93daa3cbd29361fecb7.png

 

How do I fix this? Thanks in advance!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×