fix 5
This commit is contained in:
parent
34f09097df
commit
1b0bb82bb2
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user