Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
[SOLVED] Limit with remote upload
[SOLVED] Limit with remote upload
Hi,
I have problem with remote uploading file from my vesta VPS to uptobox.com. I have mp4 file on my VPS. I want to upload that file on my uptobox account. I use remote upload.
File size is 1.4 GB, I move file to public_html so it can be accessed via link ex. http://domain.com/file.mp4
I paste link in uptobox remote upload field and upload starts. When upload reach 1 GB it says that file is uploaded. But there is uploaded just 1 GB of 1.4 GB, not whole file.

I tried to remote upload on other services, I tried with different files - same thing ... it just stops at 1 GB. It is not limit on that services (I have premium accounts) it's limit in my vestacp configuration.
Now I have to change that limit, but I don't know what to change.
I changed configuration in /usr/local/vesta/data/templates/web/httpd/hosting.tpl from
to
and I changed these values in /etc/php.ini:
to
than I restarted httpd ... but same thing. It just stops at 1 GB.
I really don't know what to change ...
Please can you help me ... I'm stucked with this problem for 6 hours.
Thank you <3
I have problem with remote uploading file from my vesta VPS to uptobox.com. I have mp4 file on my VPS. I want to upload that file on my uptobox account. I use remote upload.
File size is 1.4 GB, I move file to public_html so it can be accessed via link ex. http://domain.com/file.mp4
I paste link in uptobox remote upload field and upload starts. When upload reach 1 GB it says that file is uploaded. But there is uploaded just 1 GB of 1.4 GB, not whole file.

I tried to remote upload on other services, I tried with different files - same thing ... it just stops at 1 GB. It is not limit on that services (I have premium accounts) it's limit in my vestacp configuration.
Now I have to change that limit, but I don't know what to change.
I changed configuration in /usr/local/vesta/data/templates/web/httpd/hosting.tpl from
Code: Select all
php_admin_value upload_max_filesize 10M
php_admin_value max_execution_time 20
php_admin_value post_max_size 8M
php_admin_value memory_limit 32M
Code: Select all
php_admin_value upload_max_filesize 2048M
php_admin_value max_execution_time 1800
php_admin_value post_max_size 2048M
php_admin_value memory_limit 640M
Code: Select all
upload_max_filesize = 2M
max_execution_time = 30
post_max_size = 8M
memory_limit = 128M
Code: Select all
upload_max_filesize 2048M
max_execution_time 1800
post_max_size 2048M
memory_limit 640M
I really don't know what to change ...
Please can you help me ... I'm stucked with this problem for 6 hours.
Thank you <3
Last edited by liquid on Tue Oct 18, 2016 11:51 am, edited 1 time in total.
Re: Limit with remote upload
It's nginx limitation by default.
You can make changes in template or in user nginx config file.
Add in location / (or in location with files if you have some non default location)
http://nginx.org/en/docs/http/ngx_http_ ... _file_size
You can make changes in template or in user nginx config file.
Add in location / (or in location with files if you have some non default location)
Code: Select all
proxy_max_temp_file_size 0;
Re: Limit with remote upload
YOU SAVED MY LIFE! THANK YOU!