[midPoint] Trying to Setup a Https Reverse Proxy
Luke Novak
lnovak at oaisd.org
Wed Sep 28 21:48:21 CEST 2022
Below is what I have in the configuration file for nginx. I tried adding the slash after midpoint after your email and now I am getting a too many redirects error. So I am thinking I am not exactly understanding the nginx settings.
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://x.x.x.x:8080/midpoint/;
proxy_cookie_path /midpoint/ /;
#proxy_pass unix:/path/to/php7.3.sock # This is an example of how to define a unix socket.
proxy_read_timeout 90;
Let me know if there is a different section of the config file what would be more helpful.
Thanks,
Luke
________________________________
From: Davy Priem <davy.priem at vives.be>
Sent: Wednesday, September 28, 2022 3:29 PM
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Cc: Luke Novak <lnovak at oaisd.org>
Subject: Re: [midPoint] Trying to Setup a Https Reverse Proxy
Hi,
I think there’s an error in your nginx config. In the error message you can see nginx is sending the request to <midpointhostname>/midpointmidpoint and this should be <midpointhostname>/midpoint
Davy Priem
Op 28 sep. 2022, om 21:26 heeft Luke Novak via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>> het volgende geschreven:
Hey All,
I am working on setting up a HTTPS Reverse proxy for Midpoint using NGINX running on Ubuntu. I am getting the error in the picture. It looks like it is coming from Apache on our Linux Midpoint server. Is there a setting change I need to make on our Midpoint server for this to work?
Any tips, suggestions, or help would be appreciated.
Thanks,
Luke
Lucas Novak
Systems Engineer
OAISD
<RP_Error.jpg>_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
https://lists.evolveum.com/mailman/listinfo/midpoint<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=05%7C01%7Clnovak%40oaisd.org%7C9eb9e9f422124e062d3d08daa187be1c%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637999901674960343%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=VVqRJ00D5k%2FZuS097JVjqXGUHjNIeTcicHNX330R5RE%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220928/232320b4/attachment-0001.htm>
More information about the midPoint
mailing list