<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am sorry I double pasted on the last email.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
The old config looked like this:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<pre style="color:rgb(32, 31, 30) !important;font-size:15px;background-color:white !important"><code data-lang="nginx"><span style="margin:0px">location</span> <span style="margin:0px">/</span> <span style="margin:0px">{</span>
    <span style="margin:0px">proxy_pass</span> <a href="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fx.x.x.x%3A8080%2Fmidpoint%2F&data=05%7C01%7Clnovak%40oaisd.org%7C2bd342a4304d4df156f708daa18b7d13%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637999917746121105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=85Wey3XpDu0I%2BdkOls2R4OcfFlAvfanrNuvJewWzhP8%3D&reserved=0" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" shash="Vg8MTI5yyMz1iDEF+TqiBaoixBJHbF1oXI0du8joNXYZQW49ZjZShBiBjAgqxkHr+fSVzajiNHbbtA+3iJR98G5SyGUikudHQ7/j1x3B8+SU/pezNNo322C6z4+HYEPW9uiQYSZ4NMtDNhKRDdOphzMRhb82++qCz0aFK2nipoE=" title="Original URL: http://x.x.x.x:8080/midpoint/. Click or tap if you trust this link." data-linkindex="0" data-safelink="true" style="font-size:12pt;margin:0px">http://x.x.x.x:8080/midpoint/</a><span style="font-size:12pt;margin:0px">;</span><span style="margin:0px">}</span></code></pre>
<pre style="color:rgb(32, 31, 30) !important;font-size:15px;background-color:white !important"><code data-lang="nginx"><span style="margin:0px">}</span></code></pre>
Thanks,
<div>Luke</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Davy Priem <davy.priem@vives.be><br>
<b>Sent:</b> Wednesday, September 28, 2022 3:56 PM<br>
<b>To:</b> Luke Novak <lnovak@oaisd.org><br>
<b>Cc:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Subject:</b> Re: [midPoint] Trying to Setup a Https Reverse Proxy</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Which location are you using? 
<div class=""><br class="">
</div>
<div class="">You should have something like this:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="x_highlight">
<pre class="x_chroma"><code class="x_language-nginx" data-lang="nginx"><span class="x_k">location</span> <span class="x_s">/midpoint/</span> <span class="x_p">{</span>
    <span class="x_kn">proxy_pass</span> <a href="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fx.x.x.x%3A8080%2Fmidpoint%2F&data=05%7C01%7Clnovak%40oaisd.org%7C2bd342a4304d4df156f708daa18b7d13%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637999917746121105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=85Wey3XpDu0I%2BdkOls2R4OcfFlAvfanrNuvJewWzhP8%3D&reserved=0" originalsrc="http://x.x.x.x:8080/midpoint/" shash="Vg8MTI5yyMz1iDEF+TqiBaoixBJHbF1oXI0du8joNXYZQW49ZjZShBiBjAgqxkHr+fSVzajiNHbbtA+3iJR98G5SyGUikudHQ7/j1x3B8+SU/pezNNo322C6z4+HYEPW9uiQYSZ4NMtDNhKRDdOphzMRhb82++qCz0aFK2nipoE=" class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">http://x.x.x.x:8080/midpoint/</a><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">;</span><br class="">
<span class="x_p">}</span>
</code></pre>
</div>
<div class=""><br class="">
</div>
<div class="">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div><br class="">
Davy Priem<br class="">
</div>
</div>
</div>
<br class="x_Apple-interchange-newline">
</div>
<br class="x_Apple-interchange-newline">
<br class="x_Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">Op 28 sep. 2022, om 21:48 heeft Luke Novak <<a href="mailto:lnovak@oaisd.org" class="">lnovak@oaisd.org</a>> het volgende geschreven:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
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.</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
proxy_set_header Host $host;
<div class="">proxy_set_header X-Real-IP $remote_addr;</div>
<div class="">proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</div>
<div class="">proxy_set_header X-Forwarded-Proto $scheme;</div>
<div class="">proxy_pass<span class="x_Apple-converted-space"> </span><a href="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fx.x.x.x%3A8080%2Fmidpoint%2F&data=05%7C01%7Clnovak%40oaisd.org%7C2bd342a4304d4df156f708daa18b7d13%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637999917746121105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=85Wey3XpDu0I%2BdkOls2R4OcfFlAvfanrNuvJewWzhP8%3D&reserved=0" originalsrc="http://x.x.x.x:8080/midpoint/" shash="Vg8MTI5yyMz1iDEF+TqiBaoixBJHbF1oXI0du8joNXYZQW49ZjZShBiBjAgqxkHr+fSVzajiNHbbtA+3iJR98G5SyGUikudHQ7/j1x3B8+SU/pezNNo322C6z4+HYEPW9uiQYSZ4NMtDNhKRDdOphzMRhb82++qCz0aFK2nipoE=" class="">http://x.x.x.x:8080/midpoint/</a>;</div>
<div class="">proxy_cookie_path /midpoint/ /;</div>
<div class="">#proxy_pass unix:/path/to/php7.3.sock # This is an example of how to define a unix socket.</div>
proxy_read_timeout 90;<br class="">
</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Let me know if there is a different section of the config file what would be more helpful.</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Thanks,
<div class="">Luke</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<div id="x_appendonsend" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
</div>
<hr tabindex="-1" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; display:inline-block; width:1089.75px">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important"></span>
<div id="x_divRplyFwdMsg" dir="ltr" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<font face="Calibri, sans-serif" class="" style="font-size:11pt"><b class="">From:</b><span class="x_Apple-converted-space"> </span>Davy Priem <<a href="mailto:davy.priem@vives.be" class="">davy.priem@vives.be</a>><br class="">
<b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Wednesday, September 28, 2022 3:29 PM<br class="">
<b class="">To:</b><span class="x_Apple-converted-space"> </span>midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" class="">midpoint@lists.evolveum.com</a>><br class="">
<b class="">Cc:</b><span class="x_Apple-converted-space"> </span>Luke Novak <<a href="mailto:lnovak@oaisd.org" class="">lnovak@oaisd.org</a>><br class="">
<b class="">Subject:</b><span class="x_Apple-converted-space"> </span>Re: [midPoint] Trying to Setup a Https Reverse Proxy</font>
<div class=""> </div>
</div>
<div class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div class="">Hi,</div>
<div class=""><br class="">
</div>
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<br class="">
<div class="">
<div dir="auto" class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div class=""><br class="">
Davy Priem<br class="">
</div>
</div>
</div>
<br class="x_x_Apple-interchange-newline">
</div>
<br class="x_x_Apple-interchange-newline">
<br class="x_x_Apple-interchange-newline">
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">Op 28 sep. 2022, om 21:26 heeft Luke Novak via midPoint <<a href="mailto:midpoint@lists.evolveum.com" class="">midpoint@lists.evolveum.com</a>> het volgende geschreven:</div>
<br class="x_x_Apple-interchange-newline">
<div class="">
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Hey All,</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
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?</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Any tips, suggestions, or help would be appreciated.</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Thanks,
<div class="">Luke</div>
<div class=""><br class="">
</div>
<div class="">Lucas Novak</div>
<div class="">Systems Engineer </div>
<div class="">OAISD</div>
</div>
<span id="x_x_cid:118BBE95-8327-4AA2-B8C3-76AC8AFA8F5B" class=""><RP_Error.jpg></span><span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">midPoint
 mailing list</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="mailto:midPoint@lists.evolveum.com" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">midPoint@lists.evolveum.com</a><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=05%7C01%7Clnovak%40oaisd.org%7C2bd342a4304d4df156f708daa18b7d13%7C890799fcedbe4257be1d088a46a75a53%7C0%7C0%7C637999917746121105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=n2gCbcKwWCQnX2wLuyDK6XaipViGLxOKVvCS3rWxZ7I%3D&reserved=0" originalsrc="https://lists.evolveum.com/mailman/listinfo/midpoint" shash="jSGQf8wkWpFYWCpBFELmJrleT4AwepRiaI0gWx/L6gQCVb0/wpqLw0ltb5SttlBt/Y/MoQIMLg8eI7FqnAydvsQU3V884EQpYgNzf6stX+B6TK9Na0VrxhIuJqrQo3imZMMB77zpuOiAw9iBDCrBRor7bBqkYc8UygtfqgL8nIk=" originalsrc="https://lists.evolveum.com/mailman/listinfo/midpoint" shash="DlWHDXW2t13IM2uIHXlUYPerDflWC/TCeOBDILcGaFUmvPgGXIW0YIf9TfUV4cUkoZ9G9FQ2vDrjR4BqNlFyV4hjBhVAJr/fXOnfaktpBGZ+P/2/PIlTni9Lou8IH2IJOAbSAZ6Taje1BZZ+yRnXvncu75SKMEjpV6MD+coVjzE=" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://lists.evolveum.com/mailman/listinfo/midpoint</a></div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>