1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

moodle - group proxypass to apache together

This commit is contained in:
Jerry Vonau 2019-10-20 07:32:29 -05:00
parent 4047894ab6
commit 8e53b294c0
3 changed files with 9 additions and 9 deletions

View file

@ -81,15 +81,6 @@
mode: 0644
when: moodle_enabled | bool
- name: Install nginx's config file from template, if moodle_enabled
template:
src: moodle-nginx.conf.j2
dest: "/etc/nginx/conf.d/moodle-nginx.conf"
owner: root
group: root
mode: 0644
when: moodle_enabled | bool
- name: Create symlink 022-moodle.conf from sites-enabled to sites-available, if moodle_enabled (debuntu)
file:
src: /etc/apache2/sites-available/022-moodle.conf

View file

@ -59,6 +59,15 @@
- { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' }
when: is_debuntu | bool and nginx_enabled | bool
- name: Install nginx's config file from template, if moodle_enabled
template:
src: moodle-nginx.conf.j2
dest: "/etc/nginx/conf.d/moodle-nginx.conf"
owner: root
group: root
mode: 0644
when: moodle_enabled | bool
- name: Install /etc/nginx/conf.d/elgg-nginx.conf from template
template:
src: elgg-nginx.conf