From 32095cd6b3b0bdeb09a0081d7e96036ede4c15c4 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 19 Oct 2020 20:56:46 +0900 Subject: [PATCH] Don't rate limit /api/v1/donations URL prefix for sponsor photos --- production/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/production/nginx.conf b/production/nginx.conf index 9bdeccc49..605c3ba16 100644 --- a/production/nginx.conf +++ b/production/nginx.conf @@ -119,6 +119,10 @@ http { location = /api/ { try_files $uri $uri/ /index.html =404; } + location /api/v1/donations { + proxy_pass http://127.0.0.1:8999; + # don't rate limit this URL prefix + } location /api/v1/ws { proxy_pass http://127.0.0.1:8999/; proxy_http_version 1.1;