文章 96
评论 76
浏览 89992
修复nginx报错:

修复nginx报错:"upstream sent too big header while reading response header from upstream"

要学会忍耐……

nginx反向代理tomcat项目之solo

nginx反向代理tomcat项目之solo

nginx 配置 upstream backend { server localhost:8080; # Tomcat/Jetty 监听端口 } #access_log logs/access.log main; sendfile on; keepalive_timeout 65; #gzip on; server { listen 80; server_name www.cjzshilong.cn; #charset koi8-r; #access_log logs/host.access.log main; location / { proxy_pass http://backend$request_uri; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; server_name_in_redirect off; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header X-Forwarded-For $....

记录精彩的坎坷人生,经营属于自己的世界!