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:
parent
4047894ab6
commit
8e53b294c0
3 changed files with 9 additions and 9 deletions
|
@ -81,15 +81,6 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
when: moodle_enabled | bool
|
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)
|
- name: Create symlink 022-moodle.conf from sites-enabled to sites-available, if moodle_enabled (debuntu)
|
||||||
file:
|
file:
|
||||||
src: /etc/apache2/sites-available/022-moodle.conf
|
src: /etc/apache2/sites-available/022-moodle.conf
|
||||||
|
|
|
@ -59,6 +59,15 @@
|
||||||
- { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' }
|
- { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' }
|
||||||
when: is_debuntu | bool and nginx_enabled | bool
|
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
|
- name: Install /etc/nginx/conf.d/elgg-nginx.conf from template
|
||||||
template:
|
template:
|
||||||
src: elgg-nginx.conf
|
src: elgg-nginx.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue