1- worker_processes auto;
2-
3- #error_log /tmp/log/nginx/error.log notice;
4- pid /tmp/nginx.pid ;
5-
6- # Need to load ngx_http_xslt_filter_module
7- load_module modules/ngx_http_xslt_filter_module.so;
8-
9- events {
10- worker_connections 1024 ;
11- }
12-
13- http {
14- include /etc/nginx/mime.types ;
15- default_type application/octet-stream ;
16- client_body_temp_path /tmp/client_temp;
17- proxy_temp_path /tmp/proxy_temp_path ;
18- fastcgi_temp_path /tmp/fastcgi_temp;
19- uwsgi_temp_path /tmp/uwsgi_temp;
20- scgi_temp_path /tmp/scgi_temp;
1+ # worker_processes auto;
2+ #
3+ # # error_log /tmp/log/nginx/error.log notice;
4+ # pid /tmp/nginx.pid;
5+ #
6+ # # Need to load ngx_http_xslt_filter_module
7+ # load_module modules/ngx_http_xslt_filter_module.so;
8+ #
9+ # events {
10+ # worker_connections 1024;
11+ # }
12+ #
13+ # http {
14+ # include /etc/nginx/mime.types;
15+ # default_type application/octet-stream;
16+ # client_body_temp_path /tmp/client_temp;
17+ # proxy_temp_path /tmp/proxy_temp_path;
18+ # fastcgi_temp_path /tmp/fastcgi_temp;
19+ # uwsgi_temp_path /tmp/uwsgi_temp;
20+ # scgi_temp_path /tmp/scgi_temp;
2121server {
2222 types {
2323 text/plain list;
@@ -41,21 +41,21 @@ server {
4141 proxy_read_timeout 300 ;
4242 proxy_set_header Connection "" ;
4343 send_timeout 300 ;
44- autoindex_format xml;
45- xslt_stylesheet /style.xsl;
46- set $sortC M;
47- set $sortO D;
48-
49- if ( $args ~ 'C=(.)' ) {
50- set $sortC $1 ;
51- }
52- if ( $args ~ 'O=(.)' ) {
53- set $sortO $1 ;
54- }
55-
56- xslt_string_param sort-C $sortC ;
57- xslt_string_param sort-O $sortO ;
58- xslt_string_param location $uri ;
44+ # autoindex_format xml;
45+ # xslt_stylesheet /style.xsl;
46+ # set $sortC M;
47+ # set $sortO D;
48+ #
49+ # if ($args ~ 'C=(.)' ) {
50+ # set $sortC $1;
51+ # }
52+ # if ($args ~ 'O=(.)' ) {
53+ # set $sortO $1;
54+ # }
55+ #
56+ # xslt_string_param sort-C $sortC;
57+ # xslt_string_param sort-O $sortO;
58+ # xslt_string_param location $uri;
5959 }
6060}
6161}
0 commit comments