-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Nginx proxy managers/nginx configuration given by authentik does not work #10010
Comments
I can also confirm. I found a working one from: https://geekscircuit.com/set-up-authentik-sso-with-nginx-proxy-manager/ Hopefully this helps you! |
I'm experiencing the same sort of error except I'd get a 525 SSL handshake error. It keeps saying the SSL is invalid however I know it works since I use the same certificate to access my authentik instance on a FQDN. The tutorial mentioned above isn't helpful as I tried it 3 different times while starting over from scratch. I believe this is an actual bug. |
Hey found a fix for you! Use an older advanced config to input into NPM. |
I found a config that worked for my awhile ago, ill share it later, anyways this is marked as a bug in hopes that a contributer will hopefully update the documentation given in authentik for setting up NPM. |
i think its becouse websocket in new config ... |
So, the issue is still there with the latest Authentik version, 2024.6.0. |
Describe the bug
The provided configuration to put in Nginx Proxy manager and sometimes even nginx, makes nginx and nginx based configs appear as offline, yeilding a error
To Reproduce
Steps to reproduce the behavior:
Get the compose file for authentik, add a section for nginx proxy manager, then try authentiks proxy setup with Nginx proxy manager, (copy and paste it in Nginx advanced configuration box)
Expected behavior
It should work out of the box, the authentiks configuration for Nginx Proxy manager or nginx. It should not appear offline. Nginx proxy manager should not return errors for it being incorrectly configured.
Screenshots
![image](https://private-user-images.githubusercontent.com/71126384/337171514-6e08ee48-8d36-45c4-906f-c3d45e55fd49.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1NTIxNjgsIm5iZiI6MTcxOTU1MTg2OCwicGF0aCI6Ii83MTEyNjM4NC8zMzcxNzE1MTQtNmUwOGVlNDgtOGQzNi00NWM0LTkwNmYtYzNkNDVlNTVmZDQ5LnB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zUwOWRiMjEzMDQyYzRjZWEyNTBjMTU5ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.m4rlsMQPISx88Dwcs9YfuQJsG1C2EHrghgIw9ib6pDs)
![image](https://private-user-images.githubusercontent.com/71126384/337172306-a3852cb1-1804-4424-be49-f628e2843f32.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1NTIxNjgsIm5iZiI6MTcxOTU1MTg2OCwicGF0aCI6Ii83MTEyNjM4NC8zMzcxNzIzMDYtYTM4NTJjYjEtMTgwNC00NDI0LWJlNDktZjYyOGUyODQzZjMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDA1MTc0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNWVhMzU0NGE3NDY1YTE2YTU2YWI4YWQ4MGMxOWFlZjJiM2NiNDU2NjI1MjQ4ZGQzYThhYmJmODBhOWU5NzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Fk6jJct8o-lpKNiELm644IHO_Jv3xosiP3NjmOnTd24)
If applicable, add screenshots to help explain your problem.
Logs
Output of docker-compose logs or kubectl logs respectively
Version and Deployment (please complete the following information):
Latest
Docker compose
Additional context
Add any other context about the problem here.
These issues have been refrenced in these github discussions
Nginx Proxy Manager - Proxy Host Custom Locations #7323 and NPM (nginx proxy manager) "map" directive is not allowed here for authentik nginx config #10004
One of which I opened recently, because I was looking for a solution specific to nginx proxy manager and the awnser given to the other discussion Nginx Proxy Manager - Proxy Host Custom Locations #7323 was for bare metal nginx
Removing the first few lines helped aliviate one error but lead to many more, this would be a headache to try and troubleshoot, #7323 goes over some of the fixes that can be made but there are more issues i encountered given that this isnt bare metal nginx.
The text was updated successfully, but these errors were encountered: