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

uwsgi last

This commit is contained in:
Jerry Vonau 2019-11-20 14:42:26 -06:00
parent b9873b7996
commit b044282e77

View file

@ -26,13 +26,6 @@
dest: /etc/nginx/conf.d/admin-console.conf
when: admin_console_enabled and nginx_enabled
- name: Enable the uwsgi systemd service
systemd:
name: uwsgi
state: started
enabled: True
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 }}
@ -78,5 +71,11 @@
name: nginx
state: restarted
enabled: true
daemon_reload: yes
when: nginx_enabled
- name: Enable the uwsgi systemd service
systemd:
name: uwsgi
state: restarted
enabled: true
when: admin_console_enabled and nginx_enabled