beyondcode / beyondcode/herd-community
[Bug]: Nginx for secure configuration does not inherit the memory configuration
- Dominant language
- No language data
- Stars
- 122
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Platform
macOS
### Operating system version
macOS Sequoia 15.6
### System architecture
ARM64 (M1, M2, etc)
### Herd Version
1.21.2 (Build 51)
### PHP Version
PHP 8.3.24
### Bug description
I have set the memory on the settings interface to 10240 (MB), and I can see that it updates the herd.conf for Nginx. However, when I enabled https using `herd secure`, the value for `client_max_body_size` in `valet/Nginx/domain.test` was not updated. It is still using 1024M.
I have an app that need to upload huge video file. So, Nginx return error `413 Content Too Large`.
### Steps to reproduce
1. Set higher memory limit in Herd > Settings > PHP > Max Upload File Size.
2. Run command in terminal `herd secure` to produce local SSL for the app.
3. Upload anything that is beyond 1024M (mb).
### Relevant log output
```shell
413 Request Entity Too Large
413 Request Entity Too Large
nginx/1.25.4
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.