<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoQuote, li.MsoQuote, div.MsoQuote
        {mso-style-priority:29;
        mso-style-link:"Quote Char";
        margin-top:10.0pt;
        margin-right:.6in;
        margin-bottom:8.0pt;
        margin-left:.6in;
        text-align:center;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#404040;
        font-style:italic;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.m-2178209318846844197gmail-pln
        {mso-style-name:m_-2178209318846844197gmail-pln;}
span.QuoteChar
        {mso-style-name:"Quote Char";
        mso-style-priority:29;
        mso-style-link:Quote;
        color:#404040;
        font-style:italic;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white">Currently I'm using Confluene 6.10.2 behind nginx. I have some pages with the page name including character '>' could not accessible, the error
 is:</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">  </span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><br>
<br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F2F2F2">HTTP Status 400 – Bad Request Type Exception Report<o:p></o:p></p>
<p class="MsoNormal" style="background:#F2F2F2">Message Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986<o:p></o:p></p>
<p class="MsoNormal" style="background:#F2F2F2">Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).<o:p></o:p></p>
<p class="MsoNormal" style="background:#F2F2F2">Exception<o:p></o:p></p>
<p class="MsoNormal" style="background:#F2F2F2">java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:474)
 org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
 org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 java.lang.Thread.run(Thread.java:748) Note The full stack trace of the root cause is available in the server logs.<o:p></o:p></p>
<p class="MsoNormal" style="background:#F2F2F2">Apache Tomcat/9.0.10<o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white;vertical-align:baseline">
<span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729">But when I access the page bypassing the reverse proxy, it's ok, so it could be a problem in nginx.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729">I read logs in Confluence and nginx, but did not find any strange, seen like the request this page has been drop by nginx, no record found
 out in backend log, please advise me how to fix the issue.</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222">I tried with some solutions, like  </span><b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt">ignore_invalid_headers</span></b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt"> to <b>off
 in http </b>level, also set rewrite , but no luck</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:4.8pt;background:#EFF0F1;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:"inherit",serif;color:#303336;border:none windowtext 1.0pt;padding:0in">if ($request_uri ~ ^(/.*)[>](.*)$) {
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:4.8pt;background:#EFF0F1;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:"inherit",serif;color:#303336;border:none windowtext 1.0pt;padding:0in">    return 301 $1%3E$2;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:4.8pt;background:#EFF0F1;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:"inherit",serif;color:#303336;border:none windowtext 1.0pt;padding:0in">}</span><span style="font-size:10.0pt;font-family:Consolas;color:#393318"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"""><b>Dung Tran Tien</b></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"""><b>ICT Specialist</b></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0p; color:#039ADB">AXON ACTIVE VIETNAM Co. Ltd</span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="http://www.axonactive.com">www.axonactive.com</a></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">T +84.28.7109 1234, F +84.28.629 738 86, M +84 933 893 489</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span><b></p>
<p class="MsoNormal"><span style="font-size:9.0pt"><b>Ho Chi Minh Office:</b></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Hai Au Building, 39B Truong Son, Ward 4, Tan Binh District, Ho Chi Minh City, Vietnam</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="http://maps.google.de/maps?q=10.80909,%20106.664329+(Axon%20Active%20Vietnam)&iwloc=A&hl=en">106°39'51"East / 10°48'32"North</a></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">Da Nang Office:</span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt">PVcomBank Building, 30/4 Street, Hai Chau District, Da Nang, Vietnam</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="http://maps.google.de/maps?q=16.040975,%20108.220597+(Axon%20Active%20Vietnam)&iwloc=A&hl=en">108°13'15"East / 16°2'27"North</a></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">Can Tho Office:</span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Toyota-NinhKieu Building, 57-59A Cach Mang Thang Tam Street, Can Tho, Vietnam</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="https://www.google.com/maps/place/10%C2%B002'57.3%22N+105%C2%B046'34.3%22E/@10.0492503,105.7739993,17z/data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d10.049245!4d105.776188">105°46'34"East / 10°2'57"North
</a></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">San Francisco Office:</span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt">281 Ellis Str, San Francisco, CA 94102, United States</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="https://www.google.com/maps/place/37%C2%B047'05.7%22N+122%C2%B024'38.7%22W/@37.784913,-122.410747,17z/data=!3m1!4b1!4m2!3m1!1s0x0:0x0?hl=en-US">122°24'39"West / 37°47'6"North</a></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"> </span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">Luzern Office:</span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Schlössli Schönegg, Wilhelmshöhe, Luzern 6003, Switzerland</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="https://www.google.de/maps/place/47%C2%B003'01.0%22N+8%C2%B017'52.0%22E/@47.0502778,8.2955891,17z/data=!3m1!4b1!4m2!3m1!1s0x0:0x0?hl=en">8°17'52"East / 47°3'1"North</a></span></p>
<p class="MsoNormal"> </p>
</div>
</b>
</body>
</html>