Skip to content

When accessing password protected albums, the login dialog is shown instead of a password prompt #2696

Closed Answered by Gendra13
Gendra13 asked this question in Bugs
Discussion options

You must be logged in to vote

Puhhh, I could solve the issue, but the problem was really bizarre:
While testing a lot of things, I realized that I had configured my nginx to use custom pages for http errors (401, 404...) instead of the generic ones. Through some interference that is completely inexplicable to me, this created the problem.
The reason this affected only the sub-folder hosting was most likely because nginx uses a different configuration set for each subdomain, so the custom pages were only set for my main domain.
In the end I could fix it by adding fastcgi_intercept_errors off; to my nginx/lychee.conf which disabled that behavior and voila it works now.

Sorry for the inconvenience. 🙈
However, there were…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Gendra13
Comment options

@Gendra13
Comment options

@ildyria
Comment options

@Gendra13
Comment options

Answer selected by Gendra13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bugs
Labels
bug Something isn't working
2 participants