Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php: explain where php-nginx includes user-specific configs #713

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions content/docs/reference/php-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ allows for a third flavour from users. They are listed here in order of highest
precedence, to lowest.

1. User-provided configuration files located in
`<APP-ROOT>/.nginx.conf.d/*-server.conf` and
`<APP-ROOT>/.nginx.conf.d/*-http.conf`.
`<APP-ROOT>/.nginx.conf.d/*-http.conf` and
`<APP-ROOT>/.nginx.conf.d/*-server.conf`
The former can be used to include user-specific config in the `http` block,
while the latter is used to include user-specific config in the `http.server` block
in the `nginx.conf` generated by the buildpack.
2. [Basic NGINX configuration][bp/php-nginx/nginx-configuration] is the `nginx.conf` file for
running with PHP apps. See [PHP How To documentation]({{< ref
"docs/howto/php" >}}) for settings that can be configured via environment
Expand Down