Melroy van den Berg 6c2aa4e7ca Angular: Change the default Nginx paths to /tmp in Docker Container (#23837)
## Description

In your Angular + Nginx Docker example you are running a non-root user,
but by default Nginx will try to write to directories like
`/var/cache/nginx/`. Which will cause errors like:

```
mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
```

This PR fixes that, and simply changing the default temp path
directories (like you did for the pid file as well) to the `/tmp`
directory. Which will work when using the `nginx` user in Docker. Mainly
`client_body_temp_path` change was needed here, but I would set more
just to be sure.

## Reviews

- [x] Technical review
- [x] Editorial review
- [ ] Product review
2025-12-18 13:54:47 -08:00
2025-12-18 15:51:00 +00:00
2025-12-17 14:07:03 +01:00
2025-12-17 14:07:35 +01:00
2025-07-16 15:13:38 +02:00
2025-08-20 11:23:38 +02:00
2025-12-18 15:51:00 +00:00
2025-12-18 15:51:00 +00:00
2025-12-18 15:51:00 +00:00
2025-08-27 10:30:39 +02:00

Docs @ Docker

Welcome to Docker Documentation


Welcome to the Docker Documentation repository. This is the source for the Docker Docs Website.

Feel free to open pull requests or issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!

Provide feedback

Wed love to hear your feedback! To submit feedback:

  • Click New issue on the docs repository, or
  • Click Request changes in the right column of every page on docs.docker.com, or
  • Click Give feedback on every page in the docs.

To get community support, use the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.

If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file an issue in the project's repository.

Contribute to Docker docs

See CONTRIBUTING.md.

Copyright 2013-2025 Docker, Inc., released under the Apache 2.0 license.

Description
No description provided
Readme Apache-2.0 874 MiB
Languages
Markdown 97.3%
HTML 1.7%
CSS 0.4%
JavaScript 0.2%
Go 0.1%