Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
471 B

{% for folder in webdav_folders %}
location /{{ folder }}/ {
alias {{ server_path }}/{{ folder }}/;
client_body_temp_path {{ server_path }}/temp;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
create_full_put_path on;
dav_access user:rw group:rw all:rw;
autoindex on;
auth_basic "restricted";
auth_basic_user_file /etc/nginx/media_htpasswd;
}
{% endfor %}