我是靠谱客的博主 舒心心情,这篇文章主要介绍server_name 正则,现在分享给大家,希望可以做个参考。

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
node1:/etc/nginx#cat nginx_taohui.conf worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; events { worker_connections 1024; } # http conf http { #include http/common.conf; #include http/cache.conf; #include http/resty.conf; #include http/mime.types; include http/*.conf; include http/servers/*.conf; log_format main '[$HOST] $remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" "$request_filename"'; gzip on; gzip_min_length 1000; gzip_buffers 4 8k; gzip_types text/plain application/x-javascript text/css application/json application/xml text/javascript; access_log logs/access.log main; #charset koi8-r; #access

最后

以上就是舒心心情最近收集整理的关于server_name 正则的全部内容,更多相关server_name内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(81)

评论列表共有 0 条评论

立即
投稿
返回
顶部