1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

nginx - merge usb-lib.conf, modules.conf into iiab.conf

This commit is contained in:
Jerry Vonau 2019-12-17 09:13:58 -06:00
parent f19bef623f
commit 53f31b3662
3 changed files with 10 additions and 16 deletions

View file

@ -5,12 +5,8 @@
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" }
- { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' }
- { src: "iiab.conf",dest: "/etc/nginx/conf.d/" }
when: nginx_enabled
- name: Insure that apache2 is not running -- we may need port swap

View file

@ -1,10 +1,15 @@
location /usb {
alias /library/www/html/local_content/;
autoindex on;
}
location /local_content/ {
autoindex on;
}
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;
}

View file

@ -1,7 +0,0 @@
location /usb {
alias /library/www/html/local_content/;
autoindex on;
}
location /local_content/ {
autoindex on;
}