upload_max_filesize
This commit is contained in:
10
.htaccess-sample
Normal file
10
.htaccess-sample
Normal file
@@ -0,0 +1,10 @@
|
||||
# BEGIN WordPress
|
||||
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
|
||||
# dynamically generated, and should only be modified via WordPress filters.
|
||||
# Any changes to the directives between these markers will be overwritten.
|
||||
|
||||
# END WordPress
|
||||
php_value upload_max_filesize 32M
|
||||
php_value post_max_size 32M
|
||||
php_value max_execution_time 300
|
||||
php_value max_input_time 300
|
||||
@@ -16,6 +16,8 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
client_max_body_size 32m;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
add_header Content-Security-Policy "font-src * data: blob: 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline';" always;
|
||||
|
||||
Reference in New Issue
Block a user