摘要:
[root@centos7 nginx]# cat nginx.conf worker_processes 2; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type applic 阅读全文
posted @ 2020-07-25 20:18
pwcc
阅读(427)
评论(0)
推荐(0)
摘要:
[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 阅读全文
posted @ 2020-07-25 20:06
pwcc
阅读(176)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2020-07-25 18:53
pwcc
阅读(849)
评论(1)
推荐(0)
摘要:
= :精确匹配(必须全部相等) ~ :大小写敏感 ~* :忽略大小写 ^~ :只需匹配uri部分,不匹配正则表达式。 @ :内部服务跳转 匹配顺序: = > ^~ > ~* > /documents/ > / request / :A request /index.html :B request / 阅读全文
posted @ 2020-07-25 18:07
pwcc
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号