File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM nginxinc/nginx-unprivileged
2- USER root
3- RUN apt-get update && apt-get install fuse -y
42# COPY ./nginx.conf /etc/nginx/conf.d/default.conf
53COPY ./nginx.conf /etc/nginx/nginx.conf
64USER nginx
Original file line number Diff line number Diff line change 11worker_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
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
77load_module modules/ngx_http_xslt_filter_module.so;
8-
9- events {
10- worker_connections 1024 ;
11- }
12-
8+ #
9+ # events {
10+ # worker_connections 1024;
11+ # }
12+ #
1313http {
1414 include /etc/nginx/mime.types ;
1515 default_type application/octet-stream ;
@@ -41,21 +41,22 @@ 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 }
60- }
60+
61+ }
6162}
You can’t perform that action at this time.
0 commit comments