NginxProxyManager / NginxProxyManager/nginx-proxy-manager
adding proxy_buffer_size 128k to Custom Nginx Configuration deletes the configuration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes - running 2.14.0
- Are you sure you're not using someone else's docker image?
- Yes - jc21/nginx-proxy-manager:2.14.0 in use
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
I am adding "proxy_buffer_size 128k;" to the advanced Nginx configuration as I am getting similar issues as described here: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/438
When saving the configuration I get saved successfully but under data/nginx/proxy_host the proxy host conf file is no longer found. Hence when accessing the configured proxy URL the proxied host is no longer available.
Nginx Proxy Manager Version
2.14.0
To Reproduce
Steps to reproduce the behavior:
- Go to proxy host of choice, in my case host no 7
- Go to edit
- Go to advanced
- Add "proxy_buffer_size 128k;"
- save the configuration (no error or any indication that something bad happened is shown)
- go to /nginx/proxy_host to validate the configuration is present and find out no 7.conf file exists anymore:
Expected behavior
7.conf file should be updated with correct config value or an error message should be shown that config could not be saved.
Screenshots
Operating System
Ubuntu 22.04.4
Additional context
none
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the save flow for proxy host 7 using the nginx-proxy-manager:2.14.0 Docker image and the advanced setting proxy_buffer_size 128k;. Inspect how the configuration is generated under data/nginx/proxy_host and verify that 7.conf is retained with the setting, or that saving reports an error instead of removing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx, typescript
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100