mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-30 03:37:22 +07:00
Add feature: new custom instructions
This commit is contained in:
1 parent
05cb864c7c
commit
e0bb5e2752
5 files changed
+21
No files matched your search
@@ -36,6 +36,12 @@
|
||||
with_fileglob: '../templates/etc/nginx/helper/*.j2'
|
||||
notify: reload nginx
|
||||
|
||||
- name: TEMPLATE | Deploy custom http configuration
|
||||
template: >
|
||||
src=etc/nginx/conf.d/custom.conf.j2
|
||||
dest=/etc/nginx/conf.d/custom.conf
|
||||
notify: reload nginx
|
||||
|
||||
- name: INCLUDE | Upstream configuration
|
||||
include: upstream.yml
|
||||
when: nginx_php
|
||||
|
||||
Reference in new issue
Block a user