- add the upload file type: /home/html/dokuwiki/conf/mime.conf
- Change the upload file size:
- /etc/php.ini:
post_max_size upload_max_filesize
and for nginx
- /etc/nginx/nginx.conf:
client_max_body_size 250M;
log 210604: uncomment several types;
vi /home/html/dokuwiki/conf/mime.conf
# You should enable HTML and Text uploads only for restricted Wikis. # Spammers are known to upload spam pages through unprotected Wikis. # Note: Enabling HTML opens Cross Site Scripting vulnerabilities # through JavaScript. Only enable this with trusted users. You # need to disable the iexssprotect option additionally to # adding the mime type here html text/html htm text/html txt text/plain conf text/plain xml text/xml csv text/csv