Hi Maxim,
First of all thanks for your reply.
I have checked my backend system It is working fine. If I hit same url
without nginx reverse proxy its giving proper output.
Example: For following configuration
location /bsg/ltp/live/$arg_name/$arg_name {
proxy_pass http://localhost:8041;
17 access.log
-rw-r--r-- 1 nginx root4760 Feb 24 03:06 access.log-20180224.gz
-rw-r- 1 nginx adm 1738667 Feb 26 03:21 access.log-20180226
This is the ls -l on /var/log/nginx:
drwxr-xr-x. 2 root root 4096 Feb 27 02:11 nginx
I'm not requesting a compressed log, so I assume centos is c
Thanks for help on this. I've fixed it by moving jenkins application to
/jenkins path on the application server. Now it's much simpler and it
appears it's working without hiccups
location /jenkins {
proxy_pass http://jenkins:8080;
proxy_redirect http://jenkins:8080/ http://nginx/;
well, as I’ve said try checking headers first, as per the following doc:
https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
it can be much complicated than just proxy_pass’ing.
regarding sub_fillter,
try getting rid of one of the sub_filters, probably the second one:
The setup is a simple set of docker containers.
a 'localhost' is a docker container with nginx acting as a reverse proxy
it has defined /jenkins location to reverse proxy connection to jenkins
container which exposes the java app at port 8080 so:
location /jenkins {
proxy_pass http://jenk
It was just an example, app1 or app2 may be any app, eg. zabbix or another
web server.
I have left the basic config for troubleshooting, my proxy pass is just as
per below:
location /jenkins {
proxy_pass http://jenkins:8080;
}
The very first GET is:
---
curl http://localhost:8123/jenki
Hello!
On Mon, Feb 26, 2018 at 12:35:15PM +0530, pritam chavan wrote:
> Hi All,
>
> I am using open source NGINX as reverse proxy. There are certain URL which
> have URL parameters.
>
> I am getting following error while accessing this URL.
>
> 2018/02/22 15:11:08 [error] 1606#0: *21 upstream
Hi,
On Sat, Feb 24, 2018 at 05:37:45AM -0500, matke wrote:
> Hi,
> I tried to send some POST request to remote server (as part of external
> authentication), but I got message that XMLHttpRequest is undefined (or
> similar error).
> I saw later in this post
> https://forum.nginx.org/read.php?2,2
Hi,
I don't use 3rd party modules. After update to 1.13.8 I have still many logs
like this:
[alert] 704#704: ignore long locked inactive cache entry
1ee9fd62b649e731d69f56b98e3e58a5, count:28
Sometimes:
[error] 5466#5466: *168740 readv() failed (104: Connection reset by peer)
while reading upstre