<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#ffffff" text="#3d3d3d" link="#6a6a6a" vlink="#3d3d3d" style="text-align:left; direction:ltr;">
<div></div>
<div><span>
<div></div>
</span></div>
<div>By the looks of things, if the application is redirecting to /wfc that's not working, your application doesn't seem to accept that as a valid. The Squid cache is returning a miss and so it is hitting the backend and getting a 404 from there it seems. /wfc/
with a trailing slash does work however, so this looks like an issue with the IIS configuration to me. Also, this is a login form, I'd recommend that you get TLS set up on this (Let's Encrypt's certbot is free afterall).</div>
<div><br>
</div>
<div><br>
</div>
<div>On Tue, 2020-01-28 at 14:11 +0000, Richard Paul wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div>It doesn't actually redirect to /wfc/ though, or rather your log lines show a 404 at /wfc</div>
<div><br>
</div>
<div>Also, your log line says /wfc/logon not /wfc/htmlnavigator/logon</div>
<div><br>
</div>
<div>GET /wfc</div>
<div>GET /wfc/logon</div>
<div>GET <span style="font-family: "Ubuntu Mono"; font-size: 17.33333396911621px;">
/wfcstatic/applications/wpk/html/scripts/cookie.js?version=8.1.6.2032</span></div>
<div><br>
</div>
<div><br>
</div>
<div>On Tue, 2020-01-28 at 14:03 +0000, Johan Gabriel Medina Capois wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<pre>Sure.</pre>
<br>
<pre>The problem is that we have an backend application running in HTML5, when we navigate to </pre>
<a href="http://kronos.mardom.com/wfc/htmlnavigator/logon">
<pre>http://kronos.mardom.com/wfc/htmlnavigator/logon</pre>
</a>
<pre> and try to login, it redirect to </pre>
<a href="http://kronos.mardom.com/wfc/">
<pre>http://kronos.mardom.com/wfc/</pre>
</a>
<pre> and deploy error message "you have no access" , but when navigate from localhost no problem.</pre>
<br>
<pre>And the nginx log</pre>
<br>
<pre>"GET /wfc HTTP/1.1" 404 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"</pre>
<pre>"GET /wfc/logon HTTP/1.1" 200 7496 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"</pre>
<pre>"GET /wfcstatic/applications/wpk/html/scripts/cookie.js?version=8.1.6.2032 HTTP/1.1" 200 2534 "</pre>
<a href="http://kronos.mardom.com/wfc/logon">
<pre>http://kronos.mardom.com/wfc/logon</pre>
</a>
<pre>" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"</pre>
<br>
<pre>Configuration is</pre>
<br>
<pre>server {</pre>
<pre>listen 80;</pre>
<pre>server_name kronos.mardom.com;</pre>
<br>
<pre>location / { proxy_pass </pre>
<a href="http://10.228.20.97">
<pre>http://10.228.20.97</pre>
</a>
<pre>;</pre>
<pre>proxy_set_header Host $host;</pre>
<pre>proxy_set_header X-Real-IP $remote_addr;</pre>
<pre>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</pre>
<pre>proxy_set_header X-Forwarded-Proto $scheme;</pre>
<pre>}</pre>
<pre>}</pre>
<br>
<pre>Regards</pre>
<br>
<pre>-----Original Message-----</pre>
<pre>From: nginx <</pre>
<a href="mailto:nginx-bounces@nginx.org">
<pre>nginx-bounces@nginx.org</pre>
</a>
<pre>> On Behalf Of J.R.</pre>
<pre>Sent: Tuesday, January 28, 2020 9:34 AM</pre>
<pre>To: </pre>
<a href="mailto:nginx@nginx.org">
<pre>nginx@nginx.org</pre>
</a><br>
<pre>Subject: Re: Help please</pre>
<br>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<pre>Can you help us please?</pre>
</blockquote>
<br>
<pre>You're going to have to be a *bit* more specific what your problem is...</pre>
<pre>_______________________________________________</pre>
<pre>nginx mailing list</pre>
<a href="mailto:nginx@nginx.org">
<pre>nginx@nginx.org</pre>
</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx">
<pre>http://mailman.nginx.org/mailman/listinfo/nginx</pre>
</a><br>
<pre>Johan Medina</pre>
<pre>Administrador de Sistemas e Infraestructura [Logo]</pre>
<br>
<pre>Departamento: TECNOLOGIA</pre>
<pre>Central Tel: 809-539-600 Ext: 8139</pre>
<pre>Flota: (809) 974-4954</pre>
<pre>Directo: 809 974-4954</pre>
<pre>Email: </pre>
<a href="mailto:jmedina@mardom.com">
<pre>jmedina@mardom.com</pre>
</a><br>
<pre>Web:www.mardom.com<https:://www.mardom.com></pre>
<br>
<pre>[Facebook icon] <</pre>
<a href="https://www.facebook.com/maritimadelcaribe">
<pre>https://www.facebook.com/maritimadelcaribe</pre>
</a>
<pre>> [Instagram icon] <</pre>
<a href="https://www.instagram.com/maritimadelcaribe">
<pre>https://www.instagram.com/maritimadelcaribe</pre>
</a>
<pre>> [Linkedin icon] <</pre>
<a href="https://www.linkedin.com/company/maritima-dominicana-sas/?viewAsMember=true">
<pre>https://www.linkedin.com/company/maritima-dominicana-sas/?viewAsMember=true</pre>
</a>
<pre>> [Youtube icon]</pre>
<br>
<pre>[Banner]</pre>
<br>
<pre>Sea amable con el medio ambiente: no imprima este correo a menos que sea completamente necesario.</pre>
<pre>_______________________________________________</pre>
<pre>nginx mailing list</pre>
<a href="mailto:nginx@nginx.org">
<pre>nginx@nginx.org</pre>
</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx">
<pre>http://mailman.nginx.org/mailman/listinfo/nginx</pre>
</a><br>
</blockquote>
<pre>_______________________________________________</pre>
<pre>nginx mailing list</pre>
<a href="mailto:nginx@nginx.org">
<pre>nginx@nginx.org</pre>
</a>
<pre><br></pre>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx">
<pre>http://mailman.nginx.org/mailman/listinfo/nginx</pre>
</a></blockquote>
</body>
</html>