Don't rate limit /api/v1/donations URL prefix for sponsor photos

This commit is contained in:
wiz 2020-10-19 20:56:46 +09:00
parent d8521a9e21
commit 32095cd6b3
No known key found for this signature in database
GPG key ID: A394E332255A6173

View file

@ -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;