diff --git a/docs/aci-api.ashhhleyyy.dev.conf b/docs/aci-api.ashhhleyyy.dev.conf new file mode 100644 index 0000000..1a4fdd5 --- /dev/null +++ b/docs/aci-api.ashhhleyyy.dev.conf @@ -0,0 +1,15 @@ +limit_req_zone $binary_remote_addr zone=aci-backend:10m rate=1r/s; + +server { + include /etc/nginx/snippets/ashhhleyyy.dev.conf; + + server_name aci-api.ashhhleyyy.dev; + + location / { + limit_req zone=aci-backend burst=5 delay=5; + proxy_pass http://amity.ash.ley:8000; + } + + access_log /var/log/nginx/aci-api.ashhhleyyy.dev-access.log; + error_log /var/log/nginx/aci-api.ashhhleyyy.dev-error.log; +}