woocode / sa-auto / conf / nginx / nginx.conf

#user  nobody;
worker_processes  4;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    use epoll;
    worker_connections  40240;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] $request '
                      '"$status" $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  logs/access.log  main;

#log_format combined '$remote_addr - $remote_user [$time_local]  '
#                    '"$request" $status $body_bytes_sent '
#                    '"$http_referer" "$http_user_agent"';

    sendfile        on;
    tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    keepalive_requests 100;

    gzip  on;
    #gzip_comp_leve 9;
    gzip_types       text/plain application/xml application/x-javascript;


   #client_max_body_size 512k;

    client_body_buffer_size 128k;
    proxy_connect_timeout 60;
    proxy_send_timeout 60;
    proxy_read_timeout 120;
    proxy_buffer_size 16k;
    proxy_buffers 4 32k;

    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Connection Close;
   #proxy_set_header Accept-Encoding 'none';
    server_names_hash_max_size 1024;
    server_names_hash_bucket_size 1024;

    #proxy_cache_path  cache/c1    levels=1      keys_zone=c1:10m;
    #proxy_cache_path  cache/c2    levels=2:2    keys_zone=c2:100m;
    #proxy_cache_path  cache/c3    levels=1:1:2  keys_zone=c3:4096m;

    #fastcgi_cache_path  cache/fc1    levels=1      keys_zone=fc1:10m;
    #fastcgi_cache_path  cache/fc2    levels=2:2    keys_zone=fc2:100m;
    #fastcgi_cache_path  cache/fc3    levels=1:1:2  keys_zone=fc3:1024m;

    #error_page   500 502 503 504 404 400 403 http://www.fetip.com/;


    upstream local {
        server 127.0.0.1:8000 weight=1;
    }

    upstream local_squid {
        server 127.0.0.1:8081 weight=1;
    }

    upstream local_php {
        server 127.0.0.1:9000 weight=1;
    }



#    include mpf_fcgi.conf;
#    include test_fcgi.conf;
#    include mpf_ngx.conf;
#    include ps3.conf;
#    include fetip.com_proxy.conf;
#    include fehot.com_proxy.conf;
#    include zjxyz.com_proxy.conf;
#    include fetip.com.conf;
#    include zjxyz.com.conf;
#    include fehot.com.conf;

#    include ad.conf;
#    include ad_proxy.conf;

#    include fehot.com_8088.conf;

    include zjxyz.com_8088.conf;
    include funuu.com_8088.conf;
    include msj.yx121.com_8088.conf;
    #include www.eviplay.com.conf;
    #include at.eviplay.com.conf;
    include surna.com_8088.conf;
    include slwan.com/*.conf;
    include eviplay.com/*.conf;
	
#    include ngx_dev_8088.conf;
   
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.