summaryrefslogtreecommitdiffhomepage
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-10 20:02:29 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-10 20:02:29 +0800
commit015923746c4d3db65cb7eef3327b34532a7c1ae9 (patch)
treefca4a7a4df00ec9e8d0dcd16e65bd6982e0ac0b5 /nginx/nginx.conf
parent8442e6126f13a98eb010e5495793807ffabdc0ca (diff)
nginx: autoindex -> fancyindex
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index b340adc..605f056 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -1,6 +1,8 @@
1load_module /etc/nginx/modules/ngx_http_dav_ext_module.so; 1load_module /etc/nginx/modules/ngx_http_dav_ext_module.so;
2load_module /etc/nginx/modules/ngx_http_xslt_filter_module.so; 2load_module /etc/nginx/modules/ngx_http_xslt_filter_module.so;
3load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so; 3load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so;
4load_module /usr/lib/nginx/modules/ngx_http_fancyindex_module.so;
5
4 6
5user pham; 7user pham;
6worker_processes 1; 8worker_processes 1;
@@ -40,6 +42,9 @@ http {
40 42
41 #keepalive_timeout 0; 43 #keepalive_timeout 0;
42 keepalive_timeout 65; 44 keepalive_timeout 65;
45 fancyindex on;
46 fancyindex_header "/fancyindex_theme/header.html";
47 fancyindex_ignore "/fancyindex_theme";
43 48
44 #gzip on; 49 #gzip on;
45 50