Set upload max file size to 20M

This commit is contained in:
Fabio Sinibaldi 2026-06-05 18:12:58 +02:00
parent 3109eb66d4
commit 648a951533
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,8 @@ server {
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privatekey.pem;
client_max_body_size 40M;
location / {
proxy_pass http://{{ docker_wordpress_hostname }}:80;

View File

@ -3,6 +3,9 @@ server {
listen [::]:80;
server_name {{ nginx_server_name }};
client_max_body_size 40M;
root /var/www/html;
index index.php;