openresty / openresty/docker-openresty
About nginx.conf and conf.d/default.conf
Open
Nobody has claimed this yet.
documentation
enhancement
help wanted
- Dominant language
- Dockerfile
- Stars
- 1k
- Forks
- 536
- Avg merge
- 1d 32m
- Merged PRs (30d)
- 1
Description
I have tried forllowing:
- Added my nginx.conf, however - still default.conf was read, although I never included it. Like this include is forced somewhere
- Deleted
defult.conf. Nothing works. - Moved all
serverdirectives from mynginx.configtodefault.conf- now things started working. Even though I never includeddefault.confin mynginx.conf.
Why is this happening?
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
Start by comparing the referenced nginx.conf with conf.d/default.conf and the default.conf file, then trace how the container loads those configuration files. Confirm which include or startup behavior causes default.conf to be read, and document the explanation and expected configuration behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100