[FreeBSD] Force create log dir
parent
66b2ac238c
commit
72edbe8656
|
@ -33,3 +33,11 @@
|
||||||
copy: >
|
copy: >
|
||||||
content="proxy_set_header Host $http_host;\nproxy_set_header X-Real-IP $remote_addr;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;"
|
content="proxy_set_header Host $http_host;\nproxy_set_header X-Real-IP $remote_addr;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;"
|
||||||
dest="{{ nginx_etc_dir }}/proxy_params"
|
dest="{{ nginx_etc_dir }}/proxy_params"
|
||||||
|
|
||||||
|
- name: FILE | Create log directory
|
||||||
|
file: >
|
||||||
|
path={{ nginx_log_dir }}
|
||||||
|
owner={{ nginx_user }}
|
||||||
|
group=wheel
|
||||||
|
mode=0755
|
||||||
|
state=directory
|
||||||
|
|
Loading…
Reference in New Issue