Skip to content

Commit

Permalink
add nginx default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxc-1996 committed Feb 25, 2021
1 parent 9b47ddb commit 1deead5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/magento/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
- name: Copy nginx virtual host configure
template:
src: default.conf.jinja2
dest: '{{ magento_vhost_dir }}'
dest: '{{magento_vhost_dir}}/{{magento_vhost_src}}'
force: yes
when: magento_service is nginx
when: magento_service == "nginx"

- name: restart php-fpm
service: name=php-fpm state=restarted
Expand Down

0 comments on commit 1deead5

Please sign in to comment.