2019-10-22 05:11:25 +00:00
|
|
|
- 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
|
2019-11-20 08:46:55 +00:00
|
|
|
when: moodle_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
2019-11-28 11:08:43 +00:00
|
|
|
- name: Install /etc/nginx/conf.d/dokuwiki-nginx.conf from template
|
|
|
|
template:
|
|
|
|
src: dokuwiki-nginx.conf
|
|
|
|
dest: /etc/nginx/conf.d/dokuwiki-nginx.conf
|
|
|
|
when: dokuwiki_enabled
|
|
|
|
|
2019-10-22 05:11:25 +00:00
|
|
|
- name: Install /etc/nginx/conf.d/elgg-nginx.conf from template
|
|
|
|
template:
|
|
|
|
src: elgg-nginx.conf
|
|
|
|
dest: "/etc/nginx/conf.d/elgg-nginx.conf"
|
2019-11-20 08:46:55 +00:00
|
|
|
when: elgg_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
|
|
|
- name: Install /etc/nginx/lokole-nginx.conf from template
|
|
|
|
template:
|
|
|
|
src: lokole-nginx.conf.j2
|
|
|
|
dest: "/etc/nginx/conf.d/lokole-nginx.conf"
|
2019-11-20 08:46:55 +00:00
|
|
|
when: lokole_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
2019-12-29 18:27:15 +00:00
|
|
|
# mediawiki and wordpress are no longer proxied
|
|
|
|
|
|
|
|
#- name: Install MediaWiki's nginx conf.d file from template
|
|
|
|
# template:
|
|
|
|
# src: mediawiki-nginx.conf.j2
|
|
|
|
# dest: /etc/nginx/conf.d/mediawiki-nginx.conf
|
|
|
|
# when: mediawiki_enabled
|
|
|
|
|
|
|
|
#- name: Install WordPress's nginx conf.d file from template
|
|
|
|
# template:
|
|
|
|
# src: wordpress-nginx.conf
|
|
|
|
# dest: /etc/nginx/conf.d/
|
|
|
|
# when: wordpress_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
2019-12-29 18:27:15 +00:00
|
|
|
- name: Install Nextcloud's nginx conf.d file from template
|
2019-12-30 15:06:39 +00:00
|
|
|
template:
|
|
|
|
src: nextcloud-nginx.conf
|
|
|
|
dest: /etc/nginx/conf.d/nextcloud-nginx.conf
|
2019-11-20 08:46:55 +00:00
|
|
|
when: nextcloud_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
|
|
|
- name: Install NodeRed's nginx conf.d file from template
|
|
|
|
template:
|
|
|
|
src: nodered-nginx.conf.j2
|
|
|
|
dest: /etc/nginx/conf.d/nodered-nginx.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0666
|
2019-11-20 08:46:55 +00:00
|
|
|
when: nodered_enabled
|
2019-10-22 05:11:25 +00:00
|
|
|
|
|
|
|
#- name: Install proxpass to apache running on localhost
|
2019-12-30 15:06:39 +00:00
|
|
|
|