Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baseUrl config issues #1432

Open
GabrielOsvair opened this issue Feb 26, 2024 · 4 comments
Open

baseUrl config issues #1432

GabrielOsvair opened this issue Feb 26, 2024 · 4 comments

Comments

@GabrielOsvair
Copy link

Version
1.38.1

Describe the bug
When baseUrl is activated in the configuration file (baseUrl = "/autobrr"), the page opens as if it were the first time, and asks to create an account, but I have already done this process and I see the filters and feeds updating normally in CMD... If I use baseUrl baseUrl = "/autobrr/" the page is completely blank.

Expected behavior
I would like to use it like Radarr, for example, to configure Caddy and use everything on the same domain.

Screenshots
I believe the text description is self-explanatory.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: latest

Smartphone (please complete the following information):

  • OS: Android 13
  • Browser: Chrome
  • Version: latest
@GabrielOsvair GabrielOsvair added the bug Something isn't working label Feb 26, 2024
@zze0s
Copy link
Collaborator

zze0s commented Feb 26, 2024

Hi! You must have the ending slash like /autobrr/ as baseurl and then a uri strip_prefix /autobrr as in the caddy config as documented here https://autobrr.com/installation/reverse-proxy/caddy

@zze0s zze0s removed the bug Something isn't working label Feb 26, 2024
@zze0s zze0s changed the title [BUG] Enabling baseUrl makes it impossible to use the WebUI Caddy baseUrl config issues Feb 26, 2024
@GabrielOsvair
Copy link
Author

Hello, the problem is not with Caddy, I already use it throughout the arr's ecosystem. As I said, the page is completely blank, accessed on the local network or via the domain when the baseUrl is configured. When I disable baseUrl, it normalizes the process. The same does not occur when using subdomains... which leads me to believe that the problem is with the BaseUrl config

With the baseUrl configured:
image

What appears in CMD and the web interface:
image

The impression is that the problem is with the baseUrl, since it appears to be running, but the interface is not accessible.

If I configure the baseUrl as "/autobrr", the data is reset, as if I hadn't configured anything.
image

If I deactivate the baseUrl, everything works as it should... This is all on the local network, the problem is not in configuring the Caddy.
image

@GabrielOsvair GabrielOsvair changed the title Caddy baseUrl config issues baseUrl config issues Feb 26, 2024
@GabrielOsvair
Copy link
Author

Someone who also came across the blank interface: #1166

@zze0s
Copy link
Collaborator

zze0s commented Feb 26, 2024

Can you share your caddy conf? You must have the uri strip prefix when using baseurl. Same with nginx and traefik when using baseurl. Subdomains are not affected since they load from the root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants