Allow uploading of stl files to dokuwiki

This commit is contained in:
June 2023-09-25 18:29:06 +02:00 committed by julian
parent 2b1a2c599b
commit 718b6906c5
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# See here: https://www.dokuwiki.org/mime
# Allow stl files.
stl !model/stl

View file

@ -33,3 +33,12 @@
owner: "{{ dokuwiki__nginx_user }}" owner: "{{ dokuwiki__nginx_user }}"
group: "{{ dokuwiki__nginx_user }}" group: "{{ dokuwiki__nginx_user }}"
mode: "0755" 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"