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

nginx - group proxypass to apache together

This commit is contained in:
Jerry Vonau 2019-10-20 06:38:59 -05:00
parent 2833bb1654
commit 4047894ab6
17 changed files with 50 additions and 55 deletions

View file

@ -118,18 +118,6 @@
dest: "/etc/{{ apache_config_dir }}/wordpress.conf"
when: apache_enabled
- name: Copy the nginx location info
template:
src: wordpress-nginx.conf
dest: /etc/nginx/conf.d/
when: nginx_enabled
- name: Notify nginx service of changes
service:
name: nginx
state: restarted
when: nginx_enabled
- name: Create symlink wordpress.conf from sites-enabled to sites-available, if wordpress_enabled (debuntu)
file:
src: /etc/apache2/sites-available/wordpress.conf