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
|
@ -1,11 +1,12 @@
|
|||
- name: Put the config file in place
|
||||
template:
|
||||
src: '{{ item.src}}'
|
||||
template:
|
||||
src: '{{ item.src}}'
|
||||
dest: '{{ item.dest }}'
|
||||
with_items:
|
||||
- { src: "server.conf",dest: "/etc/nginx/" }
|
||||
- { src: "nginx.conf",dest: "/etc/nginx/" }
|
||||
- { 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/" }
|
||||
# the above should be enough once uwsgi is started
|
||||
# - { src: "uwsgi.unit",dest: "/etc/systemd/system/uwsgi.socket" }
|
||||
|
@ -19,7 +20,7 @@
|
|||
|
||||
# optional services
|
||||
- name: Install config for Admin Console
|
||||
template:
|
||||
template:
|
||||
src: admin-console-nginx.conf
|
||||
# Comment one or the other to revert from nginx back to apache2, if required
|
||||
# src: admin-console-apache.conf
|
||||
|
|
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