adjust main setting
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name "";
|
||||
|
||||
root /home/container/webroot;
|
||||
@@ -14,7 +16,7 @@ server {
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
# allow larger file uploads and longer script runtimes
|
||||
client_max_body_size 100m;
|
||||
client_max_body_size 0;
|
||||
client_body_timeout 120s;
|
||||
|
||||
sendfile off;
|
||||
@@ -24,7 +26,7 @@ server {
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize = 1024M \n post_max_size=1024M";
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
fastcgi_intercept_errors off;
|
||||
|
||||
Reference in New Issue
Block a user