Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.2 KB

Devtainer

Docker based local development environment for PHP based projects

docker-compose run certbot certonly --webroot --webroot-path=/var/www/certbot -d example.com -d www.example.com

docker exec -it CERTIFICATE_BOT certbot certonly --webroot
--webroot-path=/var/www/certbot
--email [email protected]
--agree-tos
--no-eff-email
-d example.com
-d www.example.com

docker exec -it CERTIFICATE_BOT certbot renew --deploy-hook "docker exec -it nginx nginx -s reload" docker exec -it CERTIFICATE_BOT certbot renew --deploy-hook "docker exec -it apache apachectl graceful"

user: "${UID}:${GID}" # Add this line to run as the current user

Recommended Max Upload Values Based on Use Cases:

Use Case Recommended client_max_body_size
Simple Websites (No uploads) 1 MB - 2 MB (default)
Image Uploads / Small Files 5 MB - 10 MB
Document Management / CMS 10 MB - 50 MB
Video Uploads / Media Platforms 100 MB or more
API Payloads 1 MB - 10 MB