Skip to content

Commit

Permalink
chore: make more requests goes to priority apache (#11240)
Browse files Browse the repository at this point in the history
We added the priority apache.
But initially we did add only a few path to it.
As it's working fine, make more requests goes through it as they are
important for product contribution.
  • Loading branch information
alexgarel authored Jan 15, 2025
1 parent f8e3117 commit d722809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/nginx/sites-available/off
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ map $uri $apache_port {
"~*^/cgi/product.pl" 8002;
# product API read / write
"~*^/api/v./product/" 8002;
# whitelist most cgi (but display and search)
"~*^/cgi/(?!display|search).pl" 8002;
}

# variables definitions for expiry headers are loaded from /etc/nginx/conf.d/expires-no-json-xml.conf
Expand Down

0 comments on commit d722809

Please sign in to comment.