随笔分类 -  nginx

摘要:新建cors-include.conf扩展配置 if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' 'http://www.xxx.com:56' always; add_header 'Access 阅读全文
posted @ 2022-08-18 09:21 暗夜苹果 阅读(1383) 评论(0) 推荐(0)
摘要:nginx官网 下载 #最好选择稳定版本 http://nginx.org/en/download.html 安装过程 #安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel #解压文件 tar -zxvf 阅读全文
posted @ 2022-03-18 14:43 暗夜苹果 阅读(345) 评论(0) 推荐(0)