美文网首页
Request-URL Too Large

Request-URL Too Large

作者: 嗷嗷叫的多多 | 来源:发表于2020-09-04 08:41 被阅读0次

nginx:在nginx.conf文件中加入

```
client_header_buffer_size 512k;
large_client_header_buffers 4 512k;
```

tomcat:在server.xml中加入maxHttpHeaderSize="102400"

```
<Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" maxHttpHeaderSize="102400"/>
```

springboot:在springboot的application.properties文件中加入

```
server.max-http-header-size=102400
```

相关文章

网友评论

      本文标题:Request-URL Too Large

      本文链接:https://www.haomeiwen.com/subject/nkoasktx.html