Welcome! Log In Create A New Profile

Advanced

Re: Internal application - Publish on nginx

Francis Daly
December 03, 2021 08:36AM
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 francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Internal application - Publish on nginx

agomes December 03, 2021 07:37AM

Re: Internal application - Publish on nginx

Francis Daly December 03, 2021 08:36AM

Re: Internal application - Publish on nginx

agomes December 03, 2021 09:02AM

Re: Internal application - Publish on nginx

Francis Daly December 03, 2021 09:36AM

Re: Internal application - Publish on nginx

agomes December 03, 2021 10:05AM

Re: Internal application - Publish on nginx

Francis Daly December 03, 2021 11:02AM

Re: Internal application - Publish on nginx

agomes December 03, 2021 11:34AM

Re: Internal application - Publish on nginx

agomes December 03, 2021 12:57PM

Re: Internal application - Publish on nginx

Francis Daly December 04, 2021 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready