Request-URL Too Large
2020-09-04 本文已影响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
```