About max file size

Hi team,

I install nextcloud 12 on ubuntu16 LTS .

I have change etc/php/7.0.apache2/php.ini
I set the
post_max_size = 1G
upload_max_filesize = 1G
Then restart apache2

I also login nextcloud by admin and set the file handling
Maximun upload size also set to 1G

But I use other computer can upload a 4G file to the server.

What wrong with my setting?