diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-10 20:02:29 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-10 20:02:29 +0800 |
commit | 015923746c4d3db65cb7eef3327b34532a7c1ae9 (patch) | |
tree | fca4a7a4df00ec9e8d0dcd16e65bd6982e0ac0b5 /nginx/nginx.conf | |
parent | 8442e6126f13a98eb010e5495793807ffabdc0ca (diff) |
nginx: autoindex -> fancyindex
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r-- | nginx/nginx.conf | 5 |
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 @@ | |||
1 | load_module /etc/nginx/modules/ngx_http_dav_ext_module.so; | 1 | load_module /etc/nginx/modules/ngx_http_dav_ext_module.so; |
2 | load_module /etc/nginx/modules/ngx_http_xslt_filter_module.so; | 2 | load_module /etc/nginx/modules/ngx_http_xslt_filter_module.so; |
3 | load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so; | 3 | load_module /etc/nginx/modules/ngx_http_proxy_connect_module.so; |
4 | load_module /usr/lib/nginx/modules/ngx_http_fancyindex_module.so; | ||
5 | |||
4 | 6 | ||
5 | user pham; | 7 | user pham; |
6 | worker_processes 1; | 8 | worker_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 | ||