下死功夫,动活脑筋;读好书,交益友
发布时间: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.........【阅读全文】
发布时间: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-.........【阅读全文】
发布时间: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这样的文件但是无法下载-.........【阅读全文】
发布时间:2018-10-11 14:56:28
1 Create a Root CA and generate a server certificate, private key, client certificate, and client key.openssl genrsa -des3 -out ca.key 4096openssl req -new -x509 -days 365 -key ca.key -out ca.crt -subj "/C=CN/ST=beijing/L=haidianO=changyang/CN=Self-Signed CA"openssl genrsa -out client.key 4096.........【阅读全文】