Project config (.macstack)

nginx/php overrides, stubs from the UI and CLI projects config.

MacFullStack regenerates core vhosts on sync. Optional files under {project}/.macstack/ are included, never overwritten when you edit them.

Files

| File | Purpose | | .macstack/nginx.conf | Directives inside the generated server { } (Native nginx; also inlined for Docker nginx front proxy) | | .macstack/apache.conf | Directives inside Docker Apache <VirtualHost> | | .macstack/php.ini | Per-request PHP overrides (key = value) for this site only | | .macstack.json | Project meta at project root (PHP pin, aliases) — separate from the folder |

Do not redefine listen, server_name, root, or SSL in snippets — MacFullStack owns those.

UI

Project card More → Config nginx/PHP…:

  1. Ensure stubs — create commented templates (existing non-empty files kept)
  2. Reveal / open in editor
  3. Reload web config after edits

CLI

macstack projects config --name blog --ensure
macstack projects config --name blog --open nginx
macstack projects config --name blog --reload

Native runs nginx -t before reload when nginx is up.

See also

Download Pro Teams