Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
soft:dokuwiki_memo [2020/07/25 08:21] – 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:// | ||
Line 8: | Line 8: | ||
upload_max_filesize | upload_max_filesize | ||
</ | </ | ||
- | and for nginx: | + | and for nginx |
+ | * / | ||
< | < | ||
- | / | ||
client_max_body_size 250M; | 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 | ||
+ | |||
+ | </ |