mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat: add sensitive default upload settings
This commit is contained in:
parent
e050cb19c8
commit
109f6a4984
3 changed files with 7 additions and 3 deletions
|
@ -9,6 +9,7 @@ server {
|
|||
gzip_comp_level 9;
|
||||
|
||||
send_timeout 3600;
|
||||
client_max_body_size 50M;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
|
|
|
@ -105,3 +105,6 @@
|
|||
</IfModule>
|
||||
|
||||
</IfModule>
|
||||
|
||||
php_value upload_max_filesize 50M
|
||||
php_value post_max_size 50M
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; If your server uses a CGI/FastCGI SAPI, PHP supports per-directory configuration
|
||||
; via .user.ini files. For example, you can increase the upload file and post size
|
||||
; limits by setting the desired values here renaming this file into .user.ini.
|
||||
; limits by setting the desired values here and renaming this file into .user.ini.
|
||||
|
||||
upload_max_filesize = 20M
|
||||
post_max_size = 21M
|
||||
upload_max_filesize = 50M
|
||||
post_max_size = 50M
|
||||
|
|
Loading…
Reference in a new issue