tomcat8通过service install 服务 配置JAVA_OPTIONS参数
service install 服务 后,tomcat服务启动的参数,通过 tomcat8w //ES//服务名 配置参数
cd D:apache-tomcat-8.5.39-apibin>tomcat8w //ES//tomcat-one 调出弹出框内容,添加参数,如图
service install 服务 后,tomcat服务启动的参数,通过 tomcat8w //ES//服务名 配置参数
cd D:apache-tomcat-8.5.39-apibin>tomcat8w //ES//tomcat-one 调出弹出框内容,添加参数,如图
解决方法,代理的属性上加上端口配置server_port
proxy_set_header Host $host:$server_port;
#proxy_set_header Host $host;
#nginx非80端口处理 加上 :$server_port
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 6 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
代码如下,核心属性是matcher.setCaseSensitive(false);
import org.springframework.util.AntPathMatcher;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.context.annotation.Configuration;
/**
* springBoot 设置spring mvc请求地址不区分大小写.
*/
@Configuration
public class WebConfig extends WebMvcConfigurationSupport {
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
AntPathMatcher matcher = new AntPathMatcher();
matcher.setCaseSensitive(false);
configurer.setPathMatcher(matcher);
}
}
As a new Android application compiler, Huawei's Ark compiler can significantly improve the speed of mobile phones. According to Huawei's official data, the Ark compiler can improve system fluency by 24%, improve system response by 44%, and improve 60% of the three-party application operation fluency.
Huawei's consumer business CEO Yu Chengdong announced the launch of the Huawei Ark compiler, which claims to solve the inefficiency of the Android program "interpreting and executing".
Yu Chengdong said that the Ark compiler can achieve architectural-level optimization and significantly improve performance. His data shows that the Ark compiler can improve operating system fluency by 24%, system response by 44%, and third-party application fluency by 60%.
He said that the Ark compiler will be open source for the industry and hope that App developers will use it as soon as possible.
华为方舟编译器作为一款全新的安卓应用编译器能显著提高手机的运行速度,根据华为官方数据,方舟编译器能够提升24%的系统操作流畅度,提升44%的系统响应能力,还能提升60%的三方应用操作流畅度。
华为消费者业务 CEO 余承东宣布推出华为方舟编译器,称可解决安卓程序“边解释边执行”的低效。
余承东表示,方舟编译器可实现架构级优化,显著提升性能。他公布的数据显示,方舟编译器可让操作系统流畅度提升 24%,系统响应提升 44%,第三方应用操作流畅度提升 60%。
他表示,方舟编译器将面向业界开源,希望 App 开发厂商尽快使用。
此外,余承东还宣布对 GPU Tubro 进行升级,新增支持了 50 多款游戏。(张俊)