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:
parent
2833bb1654
commit
4047894ab6
17 changed files with 50 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue