Internal application - Publish on nginx
agomes
nginx-forum at forum.nginx.org
Fri Dec 3 17:57:06 UTC 2021
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"
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292998,293008#msg-293008
More information about the nginx
mailing list