502 Bad Gateway
Usually nginx/proxy could not reach PHP-FPM or a Node/Python upstream:
- Stack tab — are nginx/php-fpm (Native) or the
webcontainer (Docker) running? - Is the PHP pin installed? Otherwise fallback + warning on sync
- For Node/Python proxy — is the managed dev server alive on the right port?
- Web logs /
macstack doctor --stack - After changing PHP in Docker, wait for the rebuild
403 Forbidden
Often a wrong docroot or security rules:
- Ensure the index file is in the real docroot (Docroot)
- Check
.macstack/nginx.conf— no accidental deny on/ - Bitrix/CMS: is the installer finished; any IP lock in app config?
- File permissions under
~/MacFullStack/www/…
After config edits — Reload / Sync vhosts.