On Fri, Dec 03, 2021 at 07:37:27AM -0500, agomes wrote:

Hi there,

>   location /app {
>      proxy_pass https://myapp/pwm/public/forgottenpassword;
>      #rewrite ^/(.*)/pwm/public$ /$1 break;
>      proxy_redirect default;
>      proxy_set_header Host $host;
>   }
> 
> 
>    access_log /var/log/nginx/access.log myAccess;
>    error_log /var/log/nginx/error.log;
> }
> 
> ##########################END CONFIGURATION####################
> 
> When I do this, the /app does not work but when try internally the address 
> https://x.x.x.x:8443/pwm/public/forgottenpassword it works like expected.

What response do you get when you do

  curl -v https://x.x.x.x.com/app

? If that is not the response that you want -- what response do you want 
instead?

I suspect that your "forgottenpassword" application might use more than
one url, and what the client gets when it makes the first request may
not let it get the other urls.

        f
-- 
Francis Daly        fran...@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to