Skip to content

Commit

Permalink
fix: removed duplicate client_max_body_size nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
tiller1010 committed Apr 9, 2024
1 parent 385fe0f commit b96c735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ else
touch /home/vagrant/.homestead-features/nginx
sudo chmod 777 /etc/nginx/nginx.conf
NGINX_CONF=$(cat /etc/nginx/nginx.conf)
NGINX_CONF=$(echo "$NGINX_CONF" | sed 's/http {/http {\nclient_max_body_size 0;/')
NGINX_CONF=$(echo "$NGINX_CONF" | sed 's/client_max_body_size 100M/client_max_body_size 0/')
sudo echo "$NGINX_CONF" > /etc/nginx/nginx.conf
sudo systemctl restart nginx
fi
Expand Down

0 comments on commit b96c735

Please sign in to comment.