Set upload max file size to 20M
This commit is contained in:
parent
3109eb66d4
commit
648a951533
|
|
@ -19,6 +19,8 @@ server {
|
||||||
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||||
ssl_certificate_key /etc/nginx/ssl/privatekey.pem;
|
ssl_certificate_key /etc/nginx/ssl/privatekey.pem;
|
||||||
|
|
||||||
|
client_max_body_size 40M;
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://{{ docker_wordpress_hostname }}:80;
|
proxy_pass http://{{ docker_wordpress_hostname }}:80;
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name {{ nginx_server_name }};
|
server_name {{ nginx_server_name }};
|
||||||
|
|
||||||
|
client_max_body_size 40M;
|
||||||
|
|
||||||
|
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue