-
-
Notifications
You must be signed in to change notification settings - Fork 800
Description
I am new to Gotify and try to set it up in a docker container behind a reverse proxy (combination of https://hub.docker.com/r/jwilder/nginx-proxy and https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion). I want to protect the web frontend with basic auth.
The Gotify container comes up fine, the proxy asks for username and password as expected. After entering both I am greeted by the Gotify login screen. When using Web Dev tools in the browser, I can already see the first problem:
GET https://gotify.mydomain.com/manifest.json 401
More obvious problems occur after entering gotify credentials: I cannot log in because the basic auth window is constantly asking for username and password, and no matter how often I enter username and password, the basic auth windows does not go away.
What am I missing here?
Looking into the proxy logs I can see this:
user "admin" was not found in "/etc/nginx/htpasswd/gotify.mydomain.com"
"admin" is of course the username of the gotify user and not the username for basic auth. So why are both usernames mixed up?