摘要:
基于ip vi /etc/nginx/nginx.conf server { listen 192.168.1.142:80; server_name localhost; access_log logs/host.access.log main; location / { root /web2; 阅读全文
posted @ 2017-02-08 18:45
*奥特*
阅读(219)
评论(0)
推荐(0)
摘要:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ssl.pem -out ssl.pem vi /etc/nginx/nginx.conf server { listen 443 ssl; server_name localho 阅读全文
posted @ 2017-02-08 17:50
*奥特*
阅读(168)
评论(0)
推荐(0)
摘要:
yum install pcre-devel openssl-devel #安装环境 groupadd www && useradd -s /sbin/nologin -g www -M www #建立属于nginx的用户和组 wget http://nginx.org/download/nginx 阅读全文
posted @ 2017-02-08 14:25
*奥特*
阅读(159)
评论(0)
推荐(0)
浙公网安备 33010602011771号