mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
add modules conf file
This commit is contained in:
parent
e80e7c1ac9
commit
93b0307aa4
2 changed files with 14 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
||||||
- { src: "server.conf",dest: "/etc/nginx/" }
|
- { src: "server.conf",dest: "/etc/nginx/" }
|
||||||
- { src: "nginx.conf",dest: "/etc/nginx/" }
|
- { src: "nginx.conf",dest: "/etc/nginx/" }
|
||||||
- { src: "usb-lib.conf",dest: "/etc/nginx/conf.d/" }
|
- { src: "usb-lib.conf",dest: "/etc/nginx/conf.d/" }
|
||||||
|
- { src: "modules.conf",dest: "/etc/nginx/conf.d/" }
|
||||||
# - { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" }
|
# - { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" }
|
||||||
# the above should be enough once uwsgi is started
|
# the above should be enough once uwsgi is started
|
||||||
# - { src: "uwsgi.unit",dest: "/etc/systemd/system/uwsgi.socket" }
|
# - { src: "uwsgi.unit",dest: "/etc/systemd/system/uwsgi.socket" }
|
||||||
|
|
10
roles/nginx/templates/modules.conf
Normal file
10
roles/nginx/templates/modules.conf
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
location /modules/ {
|
||||||
|
fancyindex on; # Enable fancy indexes.
|
||||||
|
fancyindex_exact_size off; # Output human-readable file sizes.
|
||||||
|
fancyindex_ignore index.htmlf rachel-index.php;
|
||||||
|
# autoindex on;
|
||||||
|
# autoindex_exact_size off;
|
||||||
|
# autoindex_format html;
|
||||||
|
# autoindex_localtime on;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue