Welcome! Log In Create A New Profile

Advanced

Re: Internal application - Publish on nginx

December 03, 2021 12:57PM
Hi,

Now my configuration is like below:

location /app/ {
proxy_pass https://myappp;
#rewrite ^/(.*)/pwm/public$ /$1 break;
proxy_redirect https://resetpass/pwm/public/forgottenpassword /app/;
#proxy_set_header Host $host;
#proxy_cookie_path ~^/pwm/* /app;
}
location /pwm {
proxy_pass https://myappp;
proxy_redirect default;
proxy_set_header Host $host;
}

===============================

I can see on the access logs that the connection is going to resources path correctly, but the page still not appears to me.
I've got this message.

Error
Password Self Service PWM
Error

PWM 5025


Maximum login attempts for this session have been exceeded. Try again later.


Idle Timeout: 5 minutes

===================

Follow the logs.

[03/Dec/2021:17:54:28 +0000] "x.x.x.x" "GET /app/ HTTP/1.1" 200 104 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.007 0.008 "0.88"
[03/Dec/2021:17:54:28 +0000] "x.x.x.x" "GET /pwm HTTP/1.1" 302 5 "x.x.x.x/app/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.005 0.004 "-"
[03/Dec/2021:17:54:28 +0000] "x.x.x.x" "GET /pwm/ HTTP/1.1" 200 1430 "x.x.x.x/app/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.011 0.008 "-"
[03/Dec/2021:17:54:28 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/pwm-icons.css HTTP/1.1" 200 1549 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.005 0.004 "2.63"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/style.css HTTP/1.1" 200 1549 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.009 0.008 "2.63"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/js/main.js HTTP/1.1" 200 1550 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.008 0.008 "2.62"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/webjars/dojo/dojo.js HTTP/1.1" 200 1549 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.008 0.008 "2.63"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/themes/pwm/style.css HTTP/1.1" 200 1549 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.013 0.016 "2.63"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/mobileStyle.css HTTP/1.1" 200 1550 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.008 0.008 "2.62"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/themes/pwm/mobileStyle.css HTTP/1.1" 200 1552 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.010 0.008 "2.62"
[03/Dec/2021:17:54:29 +0000] "x.x.x.x" "GET /pwm/public/resources/nonce-135vkyu/style-print.css HTTP/1.1" 200 1547 "x.x.x.x/pwm/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41" "x.x.x.x:8443" 0.013 0.012 "2.63"
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: 95
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready