Skip to content

Conversation

@samdark
Copy link
Member

@samdark samdark commented Sep 2, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for setting environment variables through web server configurations for Yii3 applications. It demonstrates how to configure the APP_ENV environment variable in three different web server setups.

  • Adds environment variable configuration examples for nginx, nginx-unit, and Apache
  • Includes explanatory notes about using environment variables with Yii3 application templates
  • Provides production environment guidance for setting APP_ENV to prod

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
cookbook/en/configuring-webservers/nginx.md Adds fastcgi_param configuration and documentation for setting APP_ENV
cookbook/en/configuring-webservers/nginx-unit.md Adds environment section to JSON config with APP_ENV setting
cookbook/en/configuring-webservers/apache.md Adds SetEnv directive examples for both VirtualHost and .htaccess configurations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@samdark samdark merged commit 4965f50 into master Sep 2, 2025
2 of 4 checks passed
@samdark samdark deleted the server-env-vars branch September 2, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants