Edit history

Earlier versions of [Self-Hosted]Admin Interface Is Not Accessible When Running on a Non-Standard Port (non-443), newest first.

Current version | Edited by Rex
Changes
[image](https://feedback.fluxer.com/p/618#f-610)Removed: ### ChecksRemoved: Removed: - ☑ I searched existing issues.Removed: - ☑ I wrote this report in my own words, except for direct translation if needed.Removed:
Show

[Self-Hosted]Admin Interface Is Not Accessible When Running on a Non-Standard Port (non-443)

Summary

When I change the externally exposed port (FLUXER_PUBLIC_PORT) from the default one in the environment variables (for example, to 5366), I can no longer access the admin interface correctly. Visiting: https://domain.com:5366/admin/ automatically redirects me to: https://domain.com/oauth2/authorize?... During this redirect, the port information (:5366) is lost. If I manually add the port back after the redirect, for example: https://domain.com:5366/oauth2/authorize?... the page then reports that the redirect URL is not registered (see Screenshot 2).

Steps to reproduce

  1. Change the exposed port (FLUXER_PUBLIC_PORT) from the default value to a non-standard port (e.g. 5366) via environment variables.
  2. Access https://domain.com:5366/admin/.
  3. Observe that the request is redirected to https://domain.com/oauth2/authorize?... without the port.
  4. Manually add the port back to the redirected URL.
  5. Observe the "redirect URL not registered" error.

Environment

Version: BUILD_VERSION 2026.616.45607 OS: Docker 27.5.1 on unRAID 7.2.4, with Pangolin 1.19.2 as reverse proxy before Fluxer's Caddy Device: iPad, iPhone and Windows PC Browser: FireFox 151.3.2

Logs or screenshots

image image
Original by Rex
Show

[Self-Hosted]Admin Interface Is Not Accessible When Running on a Non-Standard Port (non-443)

Summary

When I change the externally exposed port (FLUXER_PUBLIC_PORT) from the default one in the environment variables (for example, to 5366), I can no longer access the admin interface correctly. Visiting: https://domain.com:5366/admin/ automatically redirects me to: https://domain.com/oauth2/authorize?... During this redirect, the port information (:5366) is lost. If I manually add the port back after the redirect, for example: https://domain.com:5366/oauth2/authorize?... the page then reports that the redirect URL is not registered (see Screenshot 2).

Steps to reproduce

  1. Change the exposed port (FLUXER_PUBLIC_PORT) from the default value to a non-standard port (e.g. 5366) via environment variables.
  2. Access https://domain.com:5366/admin/.
  3. Observe that the request is redirected to https://domain.com/oauth2/authorize?... without the port.
  4. Manually add the port back to the redirected URL.
  5. Observe the "redirect URL not registered" error.

Environment

Version: BUILD_VERSION 2026.616.45607 OS: Docker 27.5.1 on unRAID 7.2.4, with Pangolin 1.19.2 as reverse proxy before Fluxer's Caddy Device: iPad, iPhone and Windows PC Browser: FireFox 151.3.2

Logs or screenshots

image image

Checks

  • ☑ I searched existing issues.
  • ☑ I wrote this report in my own words, except for direct translation if needed.