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

Redirect for /share-download makes it difficult with reverse proxies #106

Open
andymarden opened this issue Apr 11, 2024 · 1 comment
Open

Comments

@andymarden
Copy link
Contributor

Scenario is this:

I want use of fileshelter to be authenticated but access to shared download links to be freely available.

So in nginx, I set:

location / to authenticate via Authentik
location /share-download tto not authentik

However, it appears that fileshelter sends a redirect to domain.com/?wtd=xxxxx which gets picked up by the / location block. It's awkward to manage logic based on query parameters.

Can I suggest that a change is made to put something like "dl" after the / and before the ? so that it can be trapped in reverse proxies effectively?

@andymarden
Copy link
Contributor Author

See discussion here: #107

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

1 participant