diff --git a/.htaccess-sample b/.htaccess-sample new file mode 100644 index 0000000..88ba333 --- /dev/null +++ b/.htaccess-sample @@ -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 \ No newline at end of file diff --git a/nginx-sample.conf b/nginx-sample.conf index 8481374..f3bf108 100644 --- a/nginx-sample.conf +++ b/nginx-sample.conf @@ -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;