ADFS with NPM #2628
Unanswered
jeremy-chua
asked this question in
Q&A
ADFS with NPM
#2628
Replies: 1 comment
-
It took 3 days to find the answer! 😅 Tested on Ubuntu 22 and Synology 7 with the last version of Nginx Proxy Manager in the docker. ssl_protocols TLSv1.2 TLSv1.3; And that's all! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have ADFS setup with a self signed certificate and behind NPM with Let's Encrypt certs.
That access to the SSO page fails using IP address as Ngnix uses resolver instead of /etc/hosts file. Hence i set the DNS in docker-compose file with "dns" option. Nignix is able to reach the adfs local FDQN.
I'm having an issue when loading the SSO page with HTTP status 400. I googled and most of the nginx user solution is to include the following settings:
`
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
`
Reference:
https://peter.upfold.org.uk/blog/2016/05/31/reverse-proxying-adfs-with-nginx/
https://forum.nginx.org/read.php?11,274340,281719
https://blog.jamiebaldanza.org/2016/03/22/nginx-reverse-proxy-adfs-3-0-server/
BUT i'm still getting a 400, just wondering if any NPMer managed to have ADFS (windows server 2022) worked with NPM?
Beta Was this translation helpful? Give feedback.
All reactions