This commit is contained in:
Mauro Torrez 2019-08-28 00:38:21 -03:00
parent 34f09097df
commit 1b0bb82bb2

View File

@ -64,7 +64,7 @@
listen 443 ssl; listen 443 ssl;
server_name {{ wordpress_domain }}; server_name {{ wordpress_domain }};
location {{ wordpress_web_root }} { location {{ wordpress_web_root }} {
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_pass http://{{ wordpress_container }}; proxy_pass http://{{ wordpress_container }};
} }
} }
@ -73,7 +73,7 @@
- name: restart frontend - name: restart frontend
docker_container: docker_container:
name: "{{ nginx_container }}" name: "{{ nginx_container_name }}"
restart: yes restart: yes
when: ngconf is changed when: ngconf is changed