官网文档地址
http://nginx.org/en/docs/
w3cschool 文档
https://www.w3cschool.cn/nginxsysc/
Module ngx_http_proxy_module
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#example
nginx cache的玩法
https://www.cnblogs.com/sunsky303/p/9041084.html
nginx中配置跨域支持功能
在我们访问文件的时候,会出现
No ‘Access-Control-Allow-Origin’ header is present on the requested resource.之类的提示,遇到这种问题最简单的方式就是在服务器进行配置,当然客户端的方式就是jsonp,但是麻烦,还是下面的解决方式比较简单
加入如下代码
http {
###start####
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
###end ###
}
Nginx + Spring Boot 实现负载均衡
https://mp.weixin.qq.com/s/xkyZMBZuKJPqFsGtIiUjsA
文档更新时间: 2021-02-18 09:53 作者:月影鹏鹏