码迷,mamicode.com
首页 >  
搜索关键字:nginx 日志切割    ( 25347个结果
Ubuntu安装Nginx
一,安装: sudo apt-get install nginx /usr/sbin/目录下是nginx命令所在目录, /etc/nginx/目录下是nginx所有的配置文件,用于配置nginx服务器以及负载均衡等信息 二,查看Nginx进程是否启动: ps -ef|grep nginx 三,启动N ...
分类:系统相关   时间:2020-07-26 19:22:03    阅读次数:81
查看报错原因 sshd -t
b for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. 1.按照 ...
分类:其他好文   时间:2020-07-26 15:55:41    阅读次数:180
nginx服务器部署dist文件夹
Table of Contents generated with DocToc 一、tomcat部署的问题 二、centos服务器安装nginx 三、nginx配置 3.1 将dist文件夹上传到服务器 3.2 配置nginx.conf 3.3 启动nginx 最近因为项目需要,我要把vue-cli ...
分类:其他好文   时间:2020-07-26 02:06:08    阅读次数:238
nginx学习
1.反向代理与负载均衡 1.nginx端口:80 2.关闭:./nginx -s stop ./nginx -s start 3.重新加载:./nginx -s reload 4.修改nginx文件配置问题: 1.在本地编辑 2.打开权限设置。(chmod 777) 3.上传。 5.输入命令 ctr ...
分类:其他好文   时间:2020-07-26 01:48:17    阅读次数:84
3, nginx的yum 安装,添加新模块
1,yum安装的Nginx添加第三方模块支持tcp [root@centos7 ~]# nginx -V nginx version: nginx/1.16.1 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) built with OpenS ...
分类:其他好文   时间:2020-07-26 01:42:06    阅读次数:77
使用nginx限制用户的访问
使用ngx_http_limit_req_module限制用户访问 该模块使用的是漏斗算法来进行限制。 官方的配置示例如下: http { limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; ... server { ... loca ...
分类:其他好文   时间:2020-07-26 01:34:48    阅读次数:78
4, nginx 的 tcp 转发
[root@centos7 nginx]# hostname -i fe80::573d:3f45:8bb8:5050%ens33 192.168.0.11 [root@centos7 nginx]# [root@centos7 nginx]# cat nginx.conf worker_proce ...
分类:其他好文   时间:2020-07-26 01:23:14    阅读次数:75
5, nginx 的if 语句格式
[root@centos7 nginx]# cat nginx.conf worker_processes 2; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type applic ...
分类:其他好文   时间:2020-07-26 01:19:27    阅读次数:70
2, nginx的location 详解
= :精确匹配(必须全部相等) ~ :大小写敏感 ~* :忽略大小写 ^~ :只需匹配uri部分,不匹配正则表达式。 @ :内部服务跳转 匹配顺序: = > ^~ > ~* > /document/ > / request / :A request /index.html :B request /d ...
分类:其他好文   时间:2020-07-26 01:00:55    阅读次数:62
nginx常量参数(十)
$ancient_browser 如果浏览器被识别为旧式浏览器,该值等于 ancient_browser_value 的值 $arg_{name} 请求中某个参数值 $args 请求url里的参数 $binary_remote_addr (ngx_http_core_module,ngx_strea ...
分类:其他好文   时间:2020-07-26 00:44:12    阅读次数:114
25347条   上一页 1 ... 59 60 61 62 63 ... 2535 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!