Allow uploading of stl files to dokuwiki
This commit is contained in:
parent
2b1a2c599b
commit
718b6906c5
2 changed files with 13 additions and 0 deletions
4
playbooks/roles/dokuwiki/files/mime.local.conf
Normal file
4
playbooks/roles/dokuwiki/files/mime.local.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# See here: https://www.dokuwiki.org/mime
|
||||
|
||||
# Allow stl files.
|
||||
stl !model/stl
|
|
@ -33,3 +33,12 @@
|
|||
owner: "{{ dokuwiki__nginx_user }}"
|
||||
group: "{{ dokuwiki__nginx_user }}"
|
||||
mode: "0755"
|
||||
|
||||
- name: Allow more mime types to be uploaded
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: mime.local.conf
|
||||
dest: /var/www/dokuwiki/conf/mime.local.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
|
Loading…
Reference in a new issue