Set WP_HOME/WP_SITEURL from WORDPRESS_PUBLIC_URL so login does not redirect to http://localhost:8080 when using https://newsproject.bitreport.pt. Trust X-Forwarded-Proto for HTTPS behind NPM. Document in .env.example and docs/deployment.md checklist. Refs: BIT-345 Made-with: Cursor