-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
HTTP basic auth & admin panel #240
Comments
Hello @nanom1t ! The option is called Please try it out. |
@FZambia Thank you for the response. I've change It looks like something wrong with nginx config and I'm not authorized to execute POST requests to |
It looks like I've found the issue. Nginx send
Centrifugo overrite this header and send it with each API request to
Is this a reason why I get P.S: There is no this problem in version 1.8.0. |
Yes, I suppose the reason is that frontend app sets |
I will try to test on VM. |
Ok, thanks - I reproduced this locally, seems like fix works but will be really nice if you confirm for your case. |
@FZambia I've cloned repo from master branch and built it with |
Does this solve a problem for you? |
Yes, thanks. |
When will be next release for Ubuntu on packagecloud.io? |
Will try to make it during this week, btw packagecloud.io requires update of GPG key for Centrifugo repository - this means that users will need to re-run repo installation script (https://packagecloud.io/FZambia/centrifugo/install) to update. This is a required step unfortunatelly - I will write about this in release notes. |
Ok, thank you. |
Hi,
I'm using HTTPS basic auth for Nginx and it works well for other parts of my app, but not for centrifugo. So before going to centrifugo admin I need to enter login/password for my domain (nginx basic auth):
Then I go to centrifugo login page and see login form. After login into admin panel nginx create new window for basic auth (but I've already authorized). Also I see an error in browser console:
Nginx requires password again and again. This happens only for centrifugo. Also I tried to enable insecure_admin in config.json, but it does not help.
config.json:
nginx config:
Thanks
The text was updated successfully, but these errors were encountered: