Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
soft:dokuwiki_memo [2020/07/23 12:11] – created Ce Zhang | soft:dokuwiki_memo [2021/07/29 05:07] (current) – Ce Zhang | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | * add the upload file type: conf/ | + | * add the upload file type: / |
* https:// | * https:// | ||
+ | |||
+ | * Change the upload file size: | ||
+ | * / | ||
+ | < | ||
+ | post_max_size | ||
+ | upload_max_filesize | ||
+ | </ | ||
+ | and for nginx | ||
+ | * / | ||
+ | < | ||
+ | client_max_body_size 250M; | ||
+ | </ | ||
+ | |||
+ | |||
+ | log 210604: uncomment several types; | ||
+ | |||
+ | vi / | ||
+ | < | ||
+ | # 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 | ||
+ | # | ||
+ | # need to disable the iexssprotect option additionally to | ||
+ | # | ||
+ | html text/html | ||
+ | htm | ||
+ | txt | ||
+ | conf text/plain | ||
+ | xml | ||
+ | csv | ||
+ | |||
+ | </ |