location = /recipe { limit_req zone=recipe_api_per_ip burst=5 nodelay; proxy_pass http://127.0.0.1:8770/recipe; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 10m; proxy_connect_timeout 10s; proxy_send_timeout 200s; proxy_read_timeout 200s; } location /recipe/ { limit_req zone=recipe_api_per_ip burst=5 nodelay; proxy_pass http://127.0.0.1:8770/recipe/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 10m; proxy_connect_timeout 10s; proxy_send_timeout 200s; proxy_read_timeout 200s; } location = /receipt { limit_req zone=recipe_api_per_ip burst=5 nodelay; proxy_pass http://127.0.0.1:8770/receipt; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 10m; proxy_connect_timeout 10s; proxy_send_timeout 200s; proxy_read_timeout 200s; } location /receipt/ { limit_req zone=recipe_api_per_ip burst=5 nodelay; proxy_pass http://127.0.0.1:8770/receipt/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 10m; proxy_connect_timeout 10s; proxy_send_timeout 200s; proxy_read_timeout 200s; }