Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4137724
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

发布时间:2022-07-31 15:50:40

现在系统中至少有好几个版本的openssl,因此nginx静态链接openssl是必须要做的事情。1编译openssl运行config make build_generated libcrypto.a在/root/openssl-1.1.1p/.openssl/lib生成 libcrypto.a  libssl.a2 编译nginx./configure  --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx.........【阅读全文】

阅读(1094) | 评论(0) | 转发(0)

发布时间:2021-11-05 16:59:03

修改下nginx中的.conf文件点击(此处)折叠或打开#下面这个就是禁止缓存location ~ \.(js|css|html|png|jpg)$ {    add_header Cache-Control no-store;}......【阅读全文】

阅读(838) | 评论(0) | 转发(0)

发布时间:2020-11-26 11:36:09

 location / {            # root /opt/dist/;            proxy_pass http://172.17.0.2;            proxy_http_version 1.1; # 后端配置支持HTTP1.1            proxy_redirect htt.........【阅读全文】

阅读(3510) | 评论(0) | 转发(0)

发布时间:2019-07-10 15:23:23

安装opensslsudo apt-get install openssl libssl-dev安装pcresudo apt-get install libpcre3 libpcre3-dev安装zlibsudo apt-get install zlib1g-dev编译nginxCFLAGS="-g -O0"./configure --prefix=/usr/local/server/nginx --with-cc-opt="-I /usr/include/pcre -I /usr/include/openssl" --with-debug --with-.........【阅读全文】

阅读(1064) | 评论(0) | 转发(0)

发布时间:2019-03-13 17:57:39

因为ubuntu下的nginx使用www-data用户,所以要将tomcat的用户,加入到www-data用户组。sudo usermod -aG www-data hongruisudo chown -R hongrui:www-data /opt/reportsudo chmod -R 0750 /opt/report配置后nginx可以下载-rw-r--r-- 1 hongrui hongrui 13 Mar 13 16:18 perm.log这样的文件但是无法下载-.........【阅读全文】

阅读(68230) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册