1
0
mirror of https://github.com/fspc/workstand.git synced 2025-03-13 01:43:22 -04:00

13 lines
437 B
YAML
Raw Normal View History

2016-03-23 16:29:28 -06:00
---
- name: Configure nginx to run proxypass {{ app_name }}
action: template src={{ group_names[0] }}/nginx-site.conf dest=/etc/nginx/sites-available/{{ app_domain_name }}
notify: restart nginx
tags:
- nginx
- name: Enable {{ app_name }} nginx config
action: file src=/etc/nginx/sites-available/{{ app_domain_name }} dest=/etc/nginx/sites-enabled/{{ app_domain_name }} state=link
notify: restart nginx
tags:
- nginx