Skip to content

Commit

Permalink
Remove the || from nginx config conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
rosalieper committed Nov 27, 2024
1 parent fa0c7ca commit 1a6ea83
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions k8s/helmfile/env/staging/platform-nginx.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,14 @@ server {
if ($host = "anton2.wikibase.dev") {
set $mwgroup "alpha";
}

# Allow 2 wikis with WBQC enabled to point to mediawiki-alpha deployment
if ($host = "wbqc.wikibase.dev" || "wbqc2.wikibase.dev") {

# Allow wbqc1.wikibase.dev to point to mediawiki-alpha deployment for PM experiments
if ($host = "wbqc1.wikibase.dev") {
set $mwgroup "alpha";
}

# Allow wbqc2.wikibase.dev to point to mediawiki-alpha deployment for PM experiments
if ($host = "wbqc2.wikibase.dev") {
set $mwgroup "alpha";
}

Expand Down

0 comments on commit 1a6ea83

Please sign in to comment.