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

nginx - moved to iiab-admin-console

This commit is contained in:
Jerry Vonau 2019-12-17 09:19:07 -06:00
parent 53f31b3662
commit 383f6194f7

View file

@ -14,15 +14,6 @@
name: apache2
state: stopped
# optional services
- name: Install config for Admin Console
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
dest: /etc/nginx/conf.d/admin-console.conf
when: admin_console_enabled and nginx_enabled
# the below slides in nginx's proxypass config files for apache on localhost
# via the ports.conf file installed above
- name: Install proxpass to apache running on localhost port {{ apache_port }}
@ -69,10 +60,3 @@
state: restarted
enabled: true
when: nginx_enabled
#- name: Enable the uwsgi systemd service
# systemd:
# name: uwsgi
# state: restarted
# enabled: true
# when: admin_console_enabled and nginx_enabled