mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Allow to upload bigger files
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
a1704b2dd9
commit
da576baab9
|
@ -2,3 +2,11 @@ RewriteEngine on
|
||||||
RewriteCond !%{HTTP_USER_AGENT} "Let's Encrypt validation server" [NC]
|
RewriteCond !%{HTTP_USER_AGENT} "Let's Encrypt validation server" [NC]
|
||||||
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview|facebookexternalhit) [NC]
|
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview|facebookexternalhit) [NC]
|
||||||
RewriteRule .* - [R=403,L]
|
RewriteRule .* - [R=403,L]
|
||||||
|
|
||||||
|
<IfModule mod_php7.c>
|
||||||
|
php_value max_execution_time 30
|
||||||
|
php_value post_max_size 10M
|
||||||
|
php_value upload_max_size 10M
|
||||||
|
php_value upload_max_filesize 10M
|
||||||
|
php_value max_file_uploads 100
|
||||||
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user