nginx路径

前端之家收集整理的这篇文章主要介绍了nginx路径前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
                                            <table class="text"&gt;<tbody><tr class="li1"&gt;

<td class="ln"><pre class="de1">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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

Nginx]# cd conf/ [root@iZ94qqhx9lpZ conf]# ls fastcgi.conf            mime.types          scgi_params fastcgi.conf.default    mime.types.default  scgi_params.default fastcgi_params          Nginx.conf          uwsgi_params fastcgi_params.default  Nginx.conf_bk       uwsgi_params.default koi-utf                 Nginx.conf.default  win-utf koi-win                 proxy.conf [root@iZ94qqhx9lpZ conf]# vi Nginx.conf   user www www; worker_processes auto;   error_log /data/wwwlogs/error_Nginx.log crit; pid /var/run/Nginx.pid; worker_rlimit_nofile 51200;   events {     use epoll;     worker_connections 51200;     multi_accept on;     }   http {     include mime.types;     default_type application/octet-stream;     server_names_hash_bucket_size 128;     client_header_buffer_size 32k;     large_client_header_buffers 4 32k;     client_max_body_size 1024m;     client_body_buffer_size 10m;     sendfile on;     tcp_nopush on;     keepalive_timeout 120;     server_tokens off;     tcp_nodelay on;       fastcgi_connect_timeout 300;     fastcgi_send_timeout 300;     fastcgi_read_timeout 300;     fastcgi_buffer_size 64k;     fastcgi_buffers 4 64k;     fastcgi_busy_buffers_size 128k;     fastcgi_temp_file_write_size 128k;       #Gzip Compression     gzip on;     gzip_buffers 16 8k;     gzip_comp_level 6;     gzip_http_version 1.1;     gzip_min_length 256;     gzip_proxied any;     gzip_vary on;     gzip_types         text/xml application/xml application/atom+xml application/RSS+xml application/xhtml+xml image/svg+xml         text/javascript application/javascript application/x-javascript         text/x-json application/json application/x-web-app-manifest+json         text/css text/plain text/x-component         font/opentype application/x-font-ttf application/vnd.ms-fontobject         image/x-icon;     gzip_disable "MSIE [1-6]\.(?!.*SV1)";       #If you have a lot of static files to serve through Nginx then caching of the files' Metadata (not the actual files' contents) can save some latency.     open_file_cache max=1000 inactive=20s;     open_file_cache_valid 30s;     open_file_cache_min_uses 2;     open_file_cache_errors on;   ######################## default ############################     server {     listen 80;     server_name _;     access_log /data/wwwlogs/access_Nginx.log combined;     root /data/wwwroot/default;     index index.html index.htm index.PHP;     location /Nginx_status {         stub_status on;         access_log off;

猜你在找的程序笔记相关文章