diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 4379f96..81cf99b 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -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; diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b886a25..d286c3c 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -26,12 +26,9 @@ http { uwsgi_temp_path /tmp; scgi_temp_path /tmp; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; - #ssl_certificate /path/to/your/key/fullchain.pem; - #ssl_certificate_key /path/to/your/key/privkey.pem; - access_log /home/container/access.log; access_log /dev/stdout; error_log /home/container/error.log; @@ -41,4 +38,4 @@ http { gzip_disable "msie6"; include /home/container/nginx/conf.d/*.conf; -} \ No newline at end of file +}