Welcome! Log In Create A New Profile

Advanced

RE: Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien
December 11, 2018 03:56AM
Hi there,

Not sure I understand you correctly. If change as suggest like

location /confluence {

proxy_pass http://1.1.2.1:8090/;



The request from the client is for /confluence/something.

The request from nginx to backend is for /something, it's not correct.

Besides that, my current configuration from this guide https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html.


Your sincerely,
Dung






-----Original Message-----
From: nginx <nginx-bounces@nginx.org> On Behalf Of Francis Daly
Sent: Tuesday, December 11, 2018 3:43 PM
To: nginx@nginx.org
Subject: Re: Invalid character found in the request target on Confluence behind nginx



On Tue, Dec 11, 2018 at 08:39:32AM +0000, Dung Tran Tien wrote:



Hi there,



> The backend must have context /confluence, without it, the page cannot be load with 404 code.



Yes.



The request from the client is for /confluence/something.



The request from nginx is for /confluence/something.



f

--

Francis Daly francis@daoine.org<mailto:francis@daoine.org>

_______________________________________________

nginx mailing list

nginx@nginx.org<mailto:nginx@nginx.org>

http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien December 10, 2018 01:44AM

Re: Invalid character found in the request target on Confluence behind nginx

Francis Daly December 10, 2018 06:12PM

RE: Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien December 10, 2018 10:18PM

Re: Invalid character found in the request target on Confluence behind nginx

Francis Daly December 11, 2018 03:36AM

RE: Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien December 11, 2018 03:40AM

Re: Invalid character found in the request target on Confluence behind nginx

Francis Daly December 11, 2018 03:44AM

RE: Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien December 11, 2018 03:56AM

Re: Invalid character found in the request target on Confluence behind nginx

Francis Daly December 11, 2018 04:00AM

RE: Invalid character found in the request target on Confluence behind nginx

Dung Tran Tien December 11, 2018 06:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
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