-
nginx-status
发布于:2019-07-15 作者:Garany 评论(0) 引用(0) 浏览(1433) 分类:破万卷书
1.开启NGINX状态页stub_status # vim /etc/nginx/conf.d/default.conf server { listen *.80 default_server; server_name localhost _; location / { return 403; } location /nginx-status { stub_status on; access_log off; allow 127.0.0.1; deny all; } } 2.检测配置文件,重启NGINX # nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is success...
-
Dockerfile_lnmp
发布于:2017-07-14 作者:Garany 评论(1) 引用(0) 浏览(1685) 分类:破万卷书
1.准备文件 # pwd /data # tree ./ -L 2 ./ ├── docker │ ├── dockerfile │ ├── lnmp.sh │ └── ser1.conf └── lnmp ├── mysql └── web 4 directories, 3 files 2.dockerfile文件 # vim docker/dockerfile FROM centos:6 MAINTAINER garany@qq.com RUN rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm \ && yum install nginx mysql mysql-server m...
最新微语
最新文章
链接
最新评论
- JosephMak 说:
关注更新, 我体会到, 旅行带来灵感。无... - JosephNerry 说:
我热爱这样的想法, 参观你们描述的目... - Steveelife 说:
有趣的 旅游网站, 加油 充满灵感。谢谢... - JosephNerry 说:
研究你的文章, 我明白, 世界很美。由衷... - JosephNerry 说:
我很少遇到, 这么生动的旅行故事。点...