pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.7k stars 1.7k forks source link

Pterodactyl working under suburl does not work #4566

Closed JeremyStarTM closed 1 year ago

JeremyStarTM commented 1 year ago

Current Behavior

Website not loading (Index page is loaded, but the bundle.js and other assets are going 404)

Expected Behavior

Pterodactyl loading without any issues.

Steps to Reproduce

  1. Install Pterodactyl
  2. Append "/panel" to "APP_URL" in the .env file
  3. Access Pterodactyl under the suburl ("/panel")

Panel Version

1.10.4

Wings Version

not installed

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

("Use netcat" was the output. I checked the log and nothing was there)

Is there an existing issue for this?

yesBad commented 1 year ago

I don't think it's ever meant for Ptero to work in a suburl.

QuintenQVD0 commented 1 year ago

Ptero does not support running on a domain.com/ptero, it needs it own subdomain

matthewpi commented 1 year ago

You will need to run the Panel on a dedicated domain, not a subpath. While there is the possibility of trying to modify this software to work with a subpath, there are too many moving parts to deal with for such a minor problem.