我正在使用springboot工作休息api,当我尝试部署它自动绑定到我们不想要的ipv6的jar时我面临小问题,我知道我可以使用外部tomcat.但只是为了学习我想知道是否有可能强制它绑定到ipv4而不是?
谢谢Sajid
我是 nginx 的新手,现在正在学习它:),我需要一些设置 proxy_send_timeout 的帮助,只有当 url 在代理中有“stime”时我才需要设置它,这就是我正在做的事情:
if ($arg_stime != ""){
proxy_send_timeout 15;
proxy_read_timeout 15;
}
Run Code Online (Sandbox Code Playgroud)
但 nginx 无法启动并给出以下错误:
4901#0:default.conf 中不允许使用“proxy_send_timeout”指令
任何建议,谢谢
此致
萨吉德