🔧 Update Challonge API proxy configuration to simplify URL rewriting and enforce nginx proxy usage
This commit is contained in:
@@ -68,7 +68,7 @@ server {
|
||||
# Proxy Challonge API requests to avoid CORS
|
||||
location /api/challonge/ {
|
||||
# Remove /api/challonge prefix and forward to Challonge API
|
||||
rewrite ^/api/challonge/(.*) /v1/$1 break;
|
||||
rewrite ^/api/challonge/(.*) /$1 break;
|
||||
|
||||
proxy_pass https://api.challonge.com;
|
||||
proxy_ssl_server_name on;
|
||||
|
||||
Reference in New Issue
Block a user