digitalocean / digitalocean/nginxconfig.io
Wordpress config is generated for every domain
- Dominant language
- JavaScript
- Stars
- 28.3k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
## Information
## Details
### Description
Wordpress config is being generated for every site, even non-wordpress
### Steps to reproduce
Generate site example.de with Wordpress support
Generate static example.ee site
### Expected behavior
Wordpress config will be included only into example.de, but it's generated for both sites
[Example](https://www.digitalocean.com/community/tools/nginx?domains.0.server.domain=example.de&domains.0.server.redirectSubdomains=false&domains.0.php.phpServer=%2Fvar%2Frun%2Fphp%2Fphp8.2-fpm.sock&domains.0.php.wordPressRules=true&domains.1.server.domain=example.ee&domains.1.server.redirectSubdomains=false&domains.1.php.php=false&domains.1.routing.index=index.html&domains.1.routing.fallbackHtml=true&global.app.lang=ru)
### Screenshots
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the linked nginxconfig.io example with one WordPress domain and one static domain. Trace how the generated configuration is assembled for each domain, then verify that WordPress configuration appears only for the domain with WordPress support enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nginx, wordpress
- Domain
- devops, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100